Skip to content

[prometheus-pushgateway] add support for basicAuth in ServiceMonitor #5489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 6, 2025

Conversation

jiaxinonly
Copy link
Contributor

What this PR does / why we need it

Add support for basicAuth in ServiceMonitor.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

@jiaxinonly
Copy link
Contributor Author

I have re-created the PR and completed the DCO. Please review it. Thank you. @cstaud @gianrubio @zeritti

Copy link
Contributor

@zeritti zeritti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @jiaxinonly, for your PR. Please, see my comments below.

@jiaxinonly
Copy link
Contributor Author

Thank you for your suggestion. @zeritti I have made the revision.

@jiaxinonly jiaxinonly requested a review from zeritti April 6, 2025 11:08
@zeritti
Copy link
Contributor

zeritti commented Apr 6, 2025

Thank you for your suggestion. @zeritti I have made the revision.

Thank you, @jiaxinonly. I allowed myself to add CI test cases, minor corrections and to amend some of your changes.

Copy link
Contributor

@zeritti zeritti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @jiaxinonly, LGTM

@zeritti zeritti merged commit fe5ec31 into prometheus-community:main Apr 6, 2025
5 checks passed
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.

[prometheus-pushgateway] Prometheus can't scrape data from Pushgateway when using basic authentication
2 participants