Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pipeline/outputs/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ Important Note: At the moment only HTTP endpoints are supported.
| traces_uri | Specify an optional HTTP URI for the target web server listening for traces, e.g: /v1/traces | / |
| header | Add a HTTP header key/value pair. Multiple headers can be set. | |
| log_response_payload | Log the response payload within the Fluent Bit log | false |
| logs_body_key | The log body key to look up in the log events body/message. Sets the Body field of the opentelemtry logs data model. | message |
| logs_trace_id_message_key | The trace id key to look up in the log events body/message. Sets the TraceId field of the opentelemtry logs data model. | traceId |
| logs_span_id_message_key | The span id key to look up in the log events body/message. Sets the SpanId field of the opentelemtry logs data model. | spanId |
| logs_severity_text_message_key | The severity text id key to look up in the log events body/message. Sets the SeverityText field of the opentelemtry logs data model. | severityText |
| logs_severity_number_message_key | The severity number id key to look up in the log events body/message. Sets the SeverityNumber field of the opentelemtry logs data model. | severityNumber |
| add_label | This allows you to add custom labels to all metrics exposed through the OpenTelemetry exporter. You may have multiple of these fields | |
| compress | Set payload compression mechanism. Option available is 'gzip' | |

Expand Down Expand Up @@ -62,6 +67,11 @@ The OpenTelemetry plugin works with logs and only the metrics collected from one
Log_response_payload True
Tls On
Tls.verify Off
logs_body_key $message
logs_span_id_message_key span_id
logs_trace_id_message_key trace_id
logs_severity_text_message_key loglevel
logs_severity_number_message_key lognum
# add user-defined labels
add_label app fluent-bit
add_label color blue
Expand Down