Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9898

Prometheus metrics reporter doesn't respect `metrics.scope`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1
    • None
    • Runtime / Metrics
    • None

    Description

      The Apache Flink documentation details that users may change the default scope of metrics emitted by using a scope format. 

      Changing the scope format allows end users to store metrics with lower cardinality while introducing the drawback of being unable to differentiate between metrics from different tasks/operators/etc sharing the same name. 

      With the Prometheus reporter, regardless of the scope format used, every variable is always emitted. 

      Would it be reasonable for the Prometheus reporter to respect the scope format and only emit dimensions that are in scope?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pr Prithvi Raj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: