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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1
    • Fix Version/s: None
    • Component/s: Runtime / Metrics
    • Labels:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pr Prithvi Raj
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: