[ 
https://issues.apache.org/jira/browse/FLINK-17495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler updated FLINK-17495:
-------------------------------------
    Description: 
Allow users to configure additional labels, presumably via a new config option 
{{metrics.scope.variables.add.}}

E.g.,
{code:java}
metrics.scope.variables.add: key1:value1;key2:value2 {code}
Original description:
{quote}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.
{quote}

  was:
Allow users to configure additional labels, presumably via a new configoption 
metrics.scop 

Original description:
{quote}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.
{quote}


> Add support for custom variables
> --------------------------------
>
>                 Key: FLINK-17495
>                 URL: https://issues.apache.org/jira/browse/FLINK-17495
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Metrics
>            Reporter: jinhai
>            Priority: Minor
>              Labels: auto-deprioritized-major, pull-request-available
>
> Allow users to configure additional labels, presumably via a new config 
> option {{metrics.scope.variables.add.}}
> E.g.,
> {code:java}
> metrics.scope.variables.add: key1:value1;key2:value2 {code}
> Original description:
> {quote}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.
> {quote}



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

Reply via email to