[jira] [Created] (FLINK-17495) Add custom labels on PrometheusReporter like PrometheusPushGatewayReporter's groupingKey

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17495) Add custom labels on PrometheusReporter like PrometheusPushGatewayReporter's groupingKey

Shang Yuanchun (Jira)
jinhai created FLINK-17495:
------------------------------

             Summary: Add custom labels on PrometheusReporter like PrometheusPushGatewayReporter's groupingKey
                 Key: FLINK-17495
                 URL: https://issues.apache.org/jira/browse/FLINK-17495
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics
            Reporter: jinhai


We need to add some custom labels on Prometheus, so we can query by them.

Now we can add jobName\groupingKey to PrometheusPushGatewayReporter in version 1.10, but not in PrometheusReporter.

Can we add AbstractPrometheusReporter#addDimension method to support this, so they will be no differences except for the metrics exposing mechanism pulling/pushing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)