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

[receiver/prometheus] Fix static scrape config with Target Allocator #36063

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

povilasv
Copy link
Contributor

@povilasv povilasv commented Oct 29, 2024

Description

Instead of clearing out prometheus scrape configuration I changed the code to copy the initial config every time we sync it from Target Allocator

Link to tracking issue

Fixes #36062 and open-telemetry/opentelemetry-operator#3034

Testing

tested in kind cluster with custom image

Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
receiver/prometheus Prometheus receiver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver/prometheus] static scape config doesn't work with Target Allocator
2 participants