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

Metrics input processor documenation #8548

Closed
jenschude opened this issue Mar 5, 2024 · 5 comments
Closed

Metrics input processor documenation #8548

jenschude opened this issue Mar 5, 2024 · 5 comments

Comments

@jenschude
Copy link

Is your feature request related to a problem? Please describe.

When scraping metrics I would like to group/tag specific metrics when they have a specific label e.g. tenant. The filter options will not work as they only apply to logs. Atm the processor pipeline seems to be the way to go but going through documentation and sources I don't see how to write a processor able for usage with metrics. I can see that metrics as well as trace processors are supported but there is no documentation and/or tests about it.

Describe the solution you'd like

  • add documentation for a Lua script to process metrics for input as well as output.

  • document the C, Rust, Go interface for metrics and trace processors.

Describe alternatives you've considered

OpenTelemetry collector comes with an groupsByAttrs processor. Something similar could be added to fluentbit directly.

https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/groupbyattrsprocessor

Additional context

@patrick-stephens
Copy link
Contributor

I think #8526 was in a similar vein so @cosmo0920 may have some pointers. A docs PR would be appreciated as well @jenschude.

Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Aug 22, 2024
@cosmo0920
Copy link
Contributor

Processor_metrics_selector could work for filtering metrics type of events and its documentation is already up: https://github.com/fluent/fluent-bit-docs/blob/master/pipeline/processors/metrics-selector.md

@github-actions github-actions bot removed the Stale label Aug 23, 2024
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Nov 21, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants