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.
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