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

Scrape config and probe support in target allocator #3394

Merged
merged 6 commits into from
Nov 5, 2024

Conversation

jaronoff97
Copy link
Contributor

Description: Enables support for pulling scrape configs and probes in the target allocator

Link to tracking Issue(s):

Testing: Unit

Documentation:

@jaronoff97 jaronoff97 requested a review from a team as a code owner October 25, 2024 16:18
@jaronoff97
Copy link
Contributor Author

@swiatekm how do we want to handle preventing this being a breaking change https://github.com/open-telemetry/opentelemetry-operator/blob/main/apis/v1beta1/targetallocator_rbac.go#L31-L33, i.e. the TA starts without the rbac it needs and crashes?

@swiatekm
Copy link
Contributor

@swiatekm how do we want to handle preventing this being a breaking change https://github.com/open-telemetry/opentelemetry-operator/blob/main/apis/v1beta1/targetallocator_rbac.go#L31-L33, i.e. the TA starts without the rbac it needs and crashes?

We should treat the fact that it crashes as a bug and ensure it keeps running. I thought we had an issue for this somewhere.

go.mod Outdated Show resolved Hide resolved
Copy link
Contributor

@swiatekm swiatekm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor nitpicks.

go.mod Outdated Show resolved Hide resolved
cmd/otel-allocator/watcher/promOperator_test.go Outdated Show resolved Hide resolved
@jaronoff97 jaronoff97 merged commit 05228b9 into open-telemetry:main Nov 5, 2024
36 checks passed
@jaronoff97 jaronoff97 deleted the scrape-config-probe branch November 5, 2024 16:47
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] Support the Probe and ScrapeConfig Prometheus Operator CRDs
3 participants