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 alloy wrapper for groupbyattrs processor #1483

Closed
MargaretKrutikova opened this issue Aug 16, 2024 · 2 comments
Closed

Add alloy wrapper for groupbyattrs processor #1483

MargaretKrutikova opened this issue Aug 16, 2024 · 2 comments
Labels
enhancement New feature or request frozen-due-to-age

Comments

@MargaretKrutikova
Copy link

Request

alloy is missing a wrapper for groupbyattrsprocessor from opentelemetry-collector-contrib.

Use case

We are using alloy to scrape metrics from kube-state-metrics and apply transformations to make it OTEL compatible. kube-state-metrics sets labels of the scraped pod which we then want to pipe through alloy processors to change the names e.g., however, from what we have noticed, if we are using the available processors like otelcol.processor.transform the attribute values get really screwed and it looks like a randomly selected value gets applied to the attribute value for the metrics of all the pods in the scraped set of metrics.

We suspect that the only way to achieve what we need is to use is groupbyattrsprocessor from opentelemetry-collector-contrib. What it be possible to add a wrapper for this processor in alloy?

@MargaretKrutikova MargaretKrutikova added the enhancement New feature or request label Aug 16, 2024
@MargaretKrutikova
Copy link
Author

Tracked in this PR #1300.

@wildum
Copy link
Contributor

wildum commented Aug 28, 2024

The PR has been merged, I'm closing the issue

@wildum wildum closed this as completed Aug 28, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request frozen-due-to-age
Projects
None yet
Development

No branches or pull requests

2 participants