OpenTelemetry output
Overview
Sends messages over OpenTelemetry GRPC. For details on the available options of the output, see the documentation of AxoSyslog.
Available in Logging operator version 4.9 and later.
Example
A simple example sending logs over OpenTelemetry GRPC to a remote OpenTelemetry endpoint:
kind: SyslogNGOutput
apiVersion: logging.banzaicloud.io/v1beta1
metadata:
name: otlp
spec:
opentelemetry:
url: otel-server
port: 4379
Configuration
OpenTelemetryOutput
(Batch, required)
Batching parameters
auth (*Auth, optional)
Authentication configuration, see the documentation of the AxoSyslog syslog-ng distribution.
channel_args (filter.ArrowMap, optional)
Add GRPC Channel arguments https://axoflow.com/docs/axosyslog-core/chapter-destinations/opentelemetry/#channel-args
compression (*bool, optional)
Enable or disable compression.
Default: false
disk_buffer (*DiskBuffer, optional)
This option enables putting outgoing messages into the disk buffer of the destination to avoid message loss in case of a system failure on the destination side. For details, see the Syslog-ng DiskBuffer options.
Default: false
url (string, required)
Specifies the hostname or IP address and optionally the port number of the web service that can receive log data via HTTP. Use a colon (:) after the address to specify the port number of the server. For example: http://127.0.0.1:8000