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

Create ServiceMonitors for Prometheus exporters #1963

Closed
iblancasa opened this issue Jul 26, 2023 · 0 comments · Fixed by #1983
Closed

Create ServiceMonitors for Prometheus exporters #1963

iblancasa opened this issue Jul 26, 2023 · 0 comments · Fixed by #1983

Comments

@iblancasa
Copy link
Contributor

When the Prometheus Exporter is used, the operator exposes the port associated to that exporter. But, in order to gather those metrics, the user needs to create a ServiceMonitor or PodMonitor resource.

It would be interesting if the OpenTelemetry Operator could create those resources for the user automatically. To ensure the feature is enabled only when the Prometheus CR is there, all the logic will be protected by the operator.observability.prometheus feature gate (implemented as part of #1768).

This will need the work done as part of #1953.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant