[
https://issues.apache.org/jira/browse/FLINK-27661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jiangchunyang updated FLINK-27661:
----------------------------------
Description:
Pushgateway has been deployed via http_config using basic_auth_users: [
<string>: <secret> ... ]
requires user`s username and password otherwise only Unauthorized we can get
return.
We deploy our flink-cluster in yarn mode .And want to use
PrometheusPushGatewayReporter to see what's going on with our task.
But I found that Metrics Reporter : PrometheusPushGatewayReporter does not
support pushgateway authentication. So the metrics data in on YARN mode cannot
be reported to our pushGateway.
This feature is already implemented in Flinks-1.13.0, so I think it should be
implemented in Flinks-1.16 to help pushgateway users who use user
authentication.
was:
Our pushgateway requires user information(basic username and password) for
authentication.
But I found that Metrics Reporter : PrometheusPushGatewayReporter does not
support authentication. So the metrics data in on YARN mode cannot be reported
to our pushGateway.
Although I have some other solutions, such as landing files and others, But I
think PrometheusPushGatewayReporter is the best solution.
So I decided to do some implementation on my own, and will submit pr to the
community later.
> [Metric]Flink-Metrics PrometheusPushGatewayReporter support pushgateway http
> authentication
> -------------------------------------------------------------------------------------------
>
> Key: FLINK-27661
> URL: https://issues.apache.org/jira/browse/FLINK-27661
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Metrics
> Affects Versions: 1.16.0
> Reporter: jiangchunyang
> Priority: Major
> Labels: pull-request-available
>
> Pushgateway has been deployed via http_config using basic_auth_users: [
> <string>: <secret> ... ]
> requires user`s username and password otherwise only Unauthorized we can get
> return.
> We deploy our flink-cluster in yarn mode .And want to use
> PrometheusPushGatewayReporter to see what's going on with our task.
> But I found that Metrics Reporter : PrometheusPushGatewayReporter does not
> support pushgateway authentication. So the metrics data in on YARN mode
> cannot be reported to our pushGateway.
> This feature is already implemented in Flinks-1.13.0, so I think it should be
> implemented in Flinks-1.16 to help pushgateway users who use user
> authentication.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)