Skip to content

[Metric]Flink-Metrics pushgateway support authentication#19745

Closed
littlecatjianjiao wants to merge 1 commit intoapache:release-1.13from
littlecatjianjiao:pushgateway-support-auth
Closed

[Metric]Flink-Metrics pushgateway support authentication#19745
littlecatjianjiao wants to merge 1 commit intoapache:release-1.13from
littlecatjianjiao:pushgateway-support-auth

Conversation

@littlecatjianjiao
Copy link

the issues :https://issues.apache.org/jira/browse/FLINK-27661

What is the purpose of the change

We found that the native PushGateway does not support authentication. As a result, the metrics data in on YARN mode cannot be reported to pushGateway with authentication.
Although we have some other solutions, such as landing files and others, we think pushGateway is the best solution.
This pull request makes the pushgateway support authentication

Brief change log

makes the PrometheusPushGatewayReporter support authentication

Verifying this change

I have verified that we can present our metric data nicely by using pushGateway, which requires authentication

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, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (docs)

@flinkbot
Copy link
Collaborator

flinkbot commented May 17, 2022

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@littlecatjianjiao littlecatjianjiao closed this by deleting the head repository Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants