kaibozhou opened a new pull request #9517: [FLINK-13779][metrics] 
PrometheusPushGatewayReporter support push metrics with groupingKey
URL: https://github.com/apache/flink/pull/9517
 
 
   ## What is the purpose of the change
   
   The pushgateway already support send metrics with 
[groupingKey](https://prometheus.github.io/client_java/io/prometheus/client/exporter/PushGateway.html#push-io.prometheus.client.CollectorRegistry-java.lang.String-java.util.Map-),
 PrometheusPushGatewayReporter can support push metrics with groupingKey, which 
will be convenient for users to identify, group or filter their metrics.
   
   ## Brief change log
   
     - *parser groupingKey from user's config: k1=v1,k2=v2 to Map<String, 
String>*
     - *Use PushGateway Java SDK to push with groupingKey*
     - *Use PushGateway Java SDK to delete with groupingKey**
   
   
   ## Verifying this change
   Run *PrometheusPushGatewayReporterTest* to verify the groupingKey config.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (docs will auto generated)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to