Skip to content
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

[prometheus-json-exporter] fix: Multiple targets are now created as differently named ServiceMonitors #2328

Merged
merged 1 commit into from
Jul 31, 2022

Conversation

fhreichert
Copy link
Contributor

What this PR does / why we need it:

The chart now creates multiple, differently named, ServiceMonitors to allow for multiple targets to be scraped.

Which issue this PR fixes

Multiple targets did not create differently named ServiceMonitors resulting in the following error when defining more than one target:
Error: servicemonitors.monitoring.coreos.com "json-exporter-prometheus-json-exporter" already exists

Special notes for your reviewer:

None

Checklist

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

…itors.

Signed-off-by: Felix <mail@freichert.de>
@fhreichert
Copy link
Contributor Author

@schmiddim @zanhsieh Please approve running workflows.

@schmiddim
Copy link
Contributor

@fhreichert my approve does not count because of an error in the Code Owners File.

@monotek monotek merged commit 44c91be into prometheus-community:main Jul 31, 2022
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.

None yet

3 participants