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

Allow labels to be added to serviceMonitor resources #165

Open
forestoden opened this issue Nov 30, 2021 · 0 comments
Open

Allow labels to be added to serviceMonitor resources #165

forestoden opened this issue Nov 30, 2021 · 0 comments

Comments

@forestoden
Copy link

Is your feature request related to a problem? Please describe.

When using the prometheus operator, one can configure Prometheus to only look at ServiceMonitors that match a particular label. With the thanos-operator, the serviceMonitor fields are only booleans, and I do not see any way to add labels to them to match what prometheus operator would expect.

Describe the solution you'd like to see

A new field serviceMonitorLabels or something to that effect that would add additional labels to the Service Monitor resource.

Describe alternatives you've considered

Additional context

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

No branches or pull requests

1 participant