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

OpenTelemtry Log Model Support for Kubernetes Filter Records #8599

Open
kevarr opened this issue Mar 18, 2024 · 4 comments
Open

OpenTelemtry Log Model Support for Kubernetes Filter Records #8599

kevarr opened this issue Mar 18, 2024 · 4 comments
Assignees

Comments

@kevarr
Copy link

kevarr commented Mar 18, 2024

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

This issue is related to #8359

In short, my understanding is that #8359 is to add support for the OpenTelemetry Log Model for the OpenTelemetry Output.

There has already been work done to support common metadata key properties in #8475. However, Kubernetes metadata added by the Kubernetes Filter are not currently auto-mapped to their OpenTelemtery equivalent.

Anyone using the Kubernetes Filter along with the OpenTelemetry Output will need to perform this mapping manually.

Describe the solution you'd like

It would be nice for the OpenTelemtry Output to have support for auto mapping records supplied by the Kubernetes Filter into log attributes and log resource attributes that match those provided by OpenTelemtry's k8sattributes processor.

As an example, the record podName could map to k8s.pod.name.

Describe alternatives you've considered

I am currently parsing the log file name to extract the pod_id, handing the log to the OpenTelemetry Collector via the Fluent protocol, restructuring the pod_id attribute to be in the right "place", and finally using the OpenTelemtry k8s-attributes processor to add Kubernetes Metadata.

Having this all done under-the-hood on the FluentBit side would be leaps and bounds better than the current experience.

Additional context

FWIW, I am fine with manually setting the attributes. I'm opening this issue only because I feel like this is an opportunity to save users some effort.

Thank you!

@edsiper edsiper added this to the Fluent Bit v3.0.3 milestone Apr 16, 2024
@edsiper edsiper self-assigned this Apr 16, 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 Aug 22, 2024
@kevarr
Copy link
Author

kevarr commented Aug 22, 2024

Not stale

@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
@stevehipwell
Copy link

/not-stale

@github-actions github-actions bot removed the Stale label Nov 22, 2024
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

4 participants