-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[prometheus-blackbox-exporter] Add missing port names to ServiceMonitor endpoints #5322
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
base: main
Are you sure you want to change the base?
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
…or endpoints Since the port names are hardcoded in the service.yaml file, we can just reference them by name instead of templating their values. Signed-off-by: Sebastian Hoß <[email protected]>
Rebased on latest main branch |
Signed-off-by: MH <[email protected]>
Signed-off-by: André Bauer <[email protected]>
Signed-off-by: André Bauer <[email protected]>
@@ -1,7 +1,7 @@ | |||
apiVersion: v2 | |||
description: Prometheus Blackbox Exporter | |||
name: prometheus-blackbox-exporter | |||
version: 11.0.0 | |||
version: 12.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imho this is currently a breaking change for anybody who uses this currently.
i would change it in a way that the default values you've set are only used if the ports are not set.
Signed-off-by: André Bauer <[email protected]>
What this PR does / why we need it
This correctly sets the port name in the generated ServiceMonitor for both the blackbox-exporter itself as well as the config-reloader. The templating for the port name of the blackbox-exporter was removed since the associated Service hardcodes the port name to
http
and does not allow to change it.Which issue this PR fixes
Special notes for your reviewer
Checklist
[prometheus-couchdb-exporter]
)pinging @desaintmartin @gianrubio @rsotnychenko @monotek since you guys are listed as maintainers in the Chart.yaml file.