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

Filter out metrics not in list #34

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Conversation

MichelHollands
Copy link
Contributor

@MichelHollands MichelHollands commented Apr 4, 2024

Add a metrics.retain section in the values.yaml.
Use that to create a prometheus.relabel stage that only keeps these metrics.
Use the stage everywhere before sending metrics.

Here's how the current agent config looks like:

agent_config

Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
@MichelHollands MichelHollands requested a review from a team April 4, 2024 10:23
@MichelHollands MichelHollands merged commit 509a32b into main Apr 4, 2024
2 checks passed
@MichelHollands MichelHollands deleted the filter_out_metrics branch April 10, 2024 09:58
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.

2 participants