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

Out otel support message key #8576

Closed
wants to merge 30 commits into from

Conversation

cb645j
Copy link
Contributor

@cb645j cb645j commented Mar 13, 2024

This is to support sending additional otlp properties derived from log events message properties.
This is related to #8359 and #8552

Testing
Before we can approve your change; please submit the following in a comment:

Example configuration

    [INPUT]
      Name   dummy
      Dummy {"message": "A log message", "span_id": "11aafe22712ca02c", "trace_id": "95e1d11ece6460e7d00c61d45cc195ff"}

    [OUTPUT]
        Name opentelemetry
        Match *
        Log_Level trace
        Host ingest.frontend.com
        Port 443
        Log_response_payload True
        logs_body_key $message
        logs_span_id_message_key span_id
        logs_trace_id_message_key trace_id
        Tls                  On
        Tls.verify           Off
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • Run local packaging test showing all targets (including any new ones) build.
  • Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • Documentation required for this feature

Backporting

  • Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

@cb645j
Copy link
Contributor Author

cb645j commented Mar 13, 2024

@nokute78 @sudomateo

cb645j added 7 commits March 18, 2024 12:57
…e_key

# Conflicts:
#	plugins/out_opentelemetry/opentelemetry.c
#	plugins/out_opentelemetry/opentelemetry.h
#	plugins/out_opentelemetry/opentelemetry_conf.c
@cb645j
Copy link
Contributor Author

cb645j commented Mar 21, 2024

@edsiper

@cb645j cb645j closed this Mar 27, 2024
@cb645j cb645j deleted the out_otel_support_message_key branch March 27, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants