Closed hashworks closed 10 months ago
Resolves #145.
Allow users to provide username and password for basic auth protected pushgateways.
Some pushgateways may require basic auth authentification.
https://github.com/prometheus/client_java/blob/main/integration_tests/it_pushgateway/src/main/java/io/prometheus/client/it/pushgateway/ExampleBatchJob.java#L32C13-L32C91
A simple test has been added.
To test this completely:
thanks @hashworks !
Motivation
Resolves #145.
What
Allow users to provide username and password for basic auth protected pushgateways.
Why
Some pushgateways may require basic auth authentification.
How
https://github.com/prometheus/client_java/blob/main/integration_tests/it_pushgateway/src/main/java/io/prometheus/client/it/pushgateway/ExampleBatchJob.java#L32C13-L32C91
Verification Steps
A simple test has been added.
To test this completely:
Checklist: