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 project_id, location, and cluster labels via relabeling to kubelet metrics #728

Open
pintohutch opened this issue Dec 20, 2023 · 0 comments
Assignees

Comments

@pintohutch
Copy link
Collaborator

The hardcoded scrape_config for the kubelet and does not include project_id, location, or cluster, which is in contrast to the scrape_config relabeling from PodMonitoring.

In practice, this isn't a big deal as those labels are injected in-memory by the export logic in the collectors from the --export.labels.* flags, which are upserted by the operator at runtime.

But to avoid relying on that behavior, and for consistency with PodMonitoring, we should relabel before ingesting to the collector.

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

3 participants