OLTP
OLTP
The OpenTelemetry Protocol (OTLP) exporter in Zilla publishes logs and metrics to an OpenTelemetry Collector, enabling integration with observability platforms. It allows configuration of the data publishing interval, signal type, and endpoint for flexible telemetry management.
exporters:
otlp:
type: otlp
options:
interval: 30
signals:
- metrics
endpoint:
protocol: http
location: http://otlp-collector:4318
Configuration (* required)
options
options*
object
Property | Type | Description |
---|---|---|
options.interval | number | Default: 30 |
options.signals | enum[] [ metrics , logs ] | Specifies what signals should be exported. The default behavior is to export all supported signals. |
options.endpoint* | object | Contains details for the OpenTelemetry Protocol collector endpoint. |
options.endpoint.protocol | enum [ http ] | Default: http |
options.endpoint.location* | string | The URI for the collector endpoint. |
options.endpoint.overrides | object | The options for overriding the endpoint for each signal type. |
options.endpoint.overrides.logs | string | Default: /v1/logs |
options.endpoint.overrides.metrics | string | Default: /v1/metrics |
Examples
The otlp
specific options.
options:
interval: 30
signals:
- logs
- metrics
endpoint:
protocol: http
location: http://otlp-collector:4318