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

Add new selector for pod and service monitor #1256

Merged
merged 8 commits into from
Nov 18, 2022

Conversation

jaronoff97
Copy link
Contributor

@jaronoff97 jaronoff97 commented Nov 16, 2022

This PR resolves #1255 by adding in a pod and service monitor selector. I needed to change the signature of a few functions, but this is an otherwise minor change.

example:
Screen Shot 2022-11-16 at 5 22 54 PM
the dip here is when i enabled a release: test label selector for servicemonitors, and it comes back when i added the label back. The default behavior is the same as what it is now.

@jaronoff97 jaronoff97 marked this pull request as ready for review November 16, 2022 22:21
@jaronoff97 jaronoff97 requested review from a team November 16, 2022 22:21
@pavolloffay pavolloffay merged commit 3f59235 into open-telemetry:main Nov 18, 2022
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
* Add new selector for pod and service monitor

* Use map, add tests

* Fix manifests

* Fixed make

* remove kustomization

* Changed based on feedback

* Docs

* config whoops
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.

[target-allocator] Allow the target allocator to use a label selector for Prometheus CRDs
5 participants