docs: pipeline: outputs: opentelemetry: document gRPC support#2621
Conversation
Signed-off-by: Eduardo Silva <edsiper@gmail.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe OpenTelemetry output documentation now explains OTLP transport modes, defaults, URI mappings, configuration parameters, log body selection, and an OTLP/HTTP-over-TLS example. ChangesOpenTelemetry documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Suggested labels: Suggested reviewers: ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| The transport setting applies to every supported signal routed to this output. The plugin selects the corresponding URI for each signal: | ||
|
|
||
| | Signal | OTLP/HTTP default | OTLP/gRPC default | | ||
| |---|---|---| |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
| The transport setting applies to every supported signal routed to this output. The plugin selects the corresponding URI for each signal: | ||
|
|
||
| | Signal | OTLP/HTTP default | OTLP/gRPC default | | ||
| |---|---|---| |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
| The transport setting applies to every supported signal routed to this output. The plugin selects the corresponding URI for each signal: | ||
|
|
||
| | Signal | OTLP/HTTP default | OTLP/gRPC default | | ||
| |---|---|---| |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
| The transport setting applies to every supported signal routed to this output. The plugin selects the corresponding URI for each signal: | ||
|
|
||
| | Signal | OTLP/HTTP default | OTLP/gRPC default | | ||
| |---|---|---| |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
| The transport setting applies to every supported signal routed to this output. The plugin selects the corresponding URI for each signal: | ||
|
|
||
| | Signal | OTLP/HTTP default | OTLP/gRPC default | | ||
| |---|---|---| |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
| | `log_suppress_interval` | Suppresses log messages from output plugin that appear similar within a specified time interval. `0` disables suppression. | `0` | | ||
| | `logs_attributes_metadata_key` | Specify an `Attributes` key. | `$Attributes` | | ||
| | `logs_body_key` | Specify an optional HTTP URI for the target OTel endpoint. | _none_ | | ||
| | `logs_body_key` | Set a record accessor that selects the value to use as the OTLP log body. | _none_ | |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]
| | `log_suppress_interval` | Suppresses log messages from output plugin that appear similar within a specified time interval. `0` disables suppression. | `0` | | ||
| | `logs_attributes_metadata_key` | Specify an `Attributes` key. | `$Attributes` | | ||
| | `logs_body_key` | Specify an optional HTTP URI for the target OTel endpoint. | _none_ | | ||
| | `logs_body_key` | Set a record accessor that selects the value to use as the OTLP log body. | _none_ | |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]
| | `oauth2.token_url` | `OAuth 2.0` token endpoint URL. | _none_ | | ||
| | `oauth2.user_agent` | Optional `User-Agent` header value to include in `OAuth 2.0` token requests. If omitted, no `User-Agent` header is sent. | _none_ | | ||
| | `port` | TCP port of the target HTTP server. | `80` | | ||
| | `port` | TCP port of the target OTLP server. | `80` | |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]
| | `oauth2.token_url` | `OAuth 2.0` token endpoint URL. | _none_ | | ||
| | `oauth2.user_agent` | Optional `User-Agent` header value to include in `OAuth 2.0` token requests. If omitted, no `User-Agent` header is sent. | _none_ | | ||
| | `port` | TCP port of the target HTTP server. | `80` | | ||
| | `port` | TCP port of the target OTLP server. | `80` | |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]
| | `oauth2.token_url` | `OAuth 2.0` token endpoint URL. | _none_ | | ||
| | `oauth2.user_agent` | Optional `User-Agent` header value to include in `OAuth 2.0` token requests. If omitted, no `User-Agent` header is sent. | _none_ | | ||
| | `port` | TCP port of the target HTTP server. | `80` | | ||
| | `port` | TCP port of the target OTLP server. | `80` | |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
error MD060/table-column-style Table column style [Table pipe has extra space to the left for style "compact"]
| The transport setting applies to every supported signal routed to this output. The plugin selects the corresponding URI for each signal: | ||
|
|
||
| | Signal | OTLP/HTTP default | OTLP/gRPC default | | ||
| |---|---|---| |
There was a problem hiding this comment.
[markdownlint-fix] reported by reviewdog 🐶
| |---|---|---| | |
| | --- | --- | --- | |
There was a problem hiding this comment.
[markdownlint-fix] reported by reviewdog 🐶
fluent-bit-docs/pipeline/outputs/opentelemetry.md
Lines 60 to 160 in 4283642
Summary
grpc,http2, compression, andlogs_body_keyparameter descriptionsWhy
The OpenTelemetry output documentation said that only HTTP endpoints were supported even though the plugin implements OTLP/gRPC. It also described
grpcas supporting anautovalue, while the implementation defines it as a boolean setting.This addresses the documentation portion of fluent/fluent-bit#10821. It doesn't attempt to resolve or close the separately reported high-rate delivery behavior.
User impact
Users can now configure OTLP/gRPC without also setting
http2, distinguish OTLP/HTTP over HTTP/2 from gRPC, and select the correct signal-specific endpoint paths.Validation
git diff --checkSummary by CodeRabbit