No encoding field for metric events is available because the only option, otlp_proto, is set by default.
Parameter
Type
Default
Description
telemetry_types
telemetrySelector
["Logs", "Metrics", "Traces"]
Choose Telemetry Type.
protocol_version
enum
"2.0.0"
The Kafka protocol version to use when communicating with brokers. Valid values are: "2.2.1", "2.2.0", "2.0.0", or "1.0.0".
brokers
strings
localhost:9092
List of brokers to connect and subscribe to for metrics, traces, and logs.
group_id
string
otel-collector
Consumer group to consume messages from.
client_id
string
otel-collector
The consumer client ID that the receiver will use.
log_topic
string
otlp_logs
The topic name for subscribing to log events.
log_encoding
enum
otlp_proto
The encoding of the log event pulled from the Kafka topic. otlp_proto, raw, text, or json
log_text_encoding
enum
utf-8
The text encoding to use when text is selected for log_encoding. Common values are: nop, utf-8, utf-16le, utf-16be, ascii, or big5 but other IANA encodings may be specified.
metric_topic
string
otlp_metrics
The topic name for subscribing to metric events.
trace_topic
string
otlp_spans
The topic name for subscribing to trace events.
trace_encoding
enum
otlp_proto
The encoding of the trace event pulled from the Kafka topic. otlp_proto, jaeger_proto, jaeger_json, zipkin_proto, zipkin_json, or zipkin_thrift