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

Support logs_body_key_attributes in OpenTelemetry output plugin #1321

Closed
LKummer opened this issue Aug 22, 2024 · 0 comments · Fixed by #1322
Closed

Support logs_body_key_attributes in OpenTelemetry output plugin #1321

LKummer opened this issue Aug 22, 2024 · 0 comments · Fixed by #1322

Comments

@LKummer
Copy link
Contributor

LKummer commented Aug 22, 2024

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

The logs_body_key_attributes of the OpenTelemetry output plugin is not yet supported by the operator. It was added in fluent/fluent-bit@202da13.

I've been using the custom plugin option to enable it, and would like to have it supported by the output plugin CRDs.

apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterOutput
# ...
spec:
  customPlugin:
    config: |
      name opentelemetry
      match kube.*
      host telemetry-exporter-components-collector
      port 4318
      logs_body_key_attributes true
  matchRegex: kube\.(.*)

Describe the solution you'd like

Add logsBodyKeyAttributes to OpenTelemetry output plugin schema.

I'd love to contribute the change, and will soon shoot a PR for it.

Additional context

No response

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 a pull request may close this issue.

1 participant