You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added HTTP support for OTLP sink as many platforms support directly
ingesting logs through otlp+http but not gRPC, it enables users to
perform agentless deployments (no intermediate service like otel-collector
or datadog-agent) where the logs are directly ingested by the
target app (i.e datadog or grafana)
Had to use proto.Marshal instead of protoutil, because the .proto
definitions for OpenTelemetry are not generated by gogoproto and
therefore don't have the additional methods that protoutil requires
Also refactored tests to be table driven and make them run on both
modes, merged the datadriven tests into the table driven ones during
the process.
Epic: none
Release note (general change): Added HTTP mode to OTLP log sink that can
export logs to OpenTelemetry-compatible targets over HTTP.
|`channels`| the list of logging channels that use this sink. See the [channel selection configuration](#channel-format) section for details. |
291
291
|`address`| the network address of the gRPC endpoint for ingestion of logs on your OpenTelemetry Collector/Platform. The host/address and port parts are separated with a colon. |
292
+
|`mode`| decides which protocol to use for exporting logs, can be "grpc" or "http". Set to "grpc" by default. Inherited from `otlp-defaults.mode` if not specified. |
292
293
|`compression`| can be "none" or "gzip" to enable gzip compression. Set to "gzip" by default. Inherited from `otlp-defaults.compression` if not specified. |
0 commit comments