mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
Workspace-wide sync. luxfi/node already shipped on 1.26.4 in v1.30.6 (commit 121aca1fa9); nested module catch-up.
OTLP gRPC Exporter
| Status | |
|---|---|
| Stability | alpha: profiles |
| stable: traces, metrics, logs | |
| Distributions | core, contrib, k8s, otlp |
| Issues |
Export data via gRPC using OTLP format. By default, this exporter requires TLS and offers queued retry capabilities.
Getting Started
The following settings are required:
endpoint(no default): host:port to which the exporter is going to send OTLP trace data, using the gRPC protocol. The valid syntax is described here. If a scheme ofhttpsis used then client transport security is enabled and overrides theinsecuresetting.tls: see TLS Configuration Settings for the full set of available options.retry_on_failure: see Retry on Failure for the full set of available options.sending_queue: see Sending Queue for the full set of available options.timeout(default = 5s): Time to wait per individual attempt to send data to a backend.
Example:
exporters:
otlp_grpc:
endpoint: otelcol2:4317
tls:
cert_file: file.cert
key_file: file.key
otlp/2:
endpoint: otelcol2:4317
tls:
insecure: true
By default, gzip compression is enabled. See compression comparison for details benchmark information. To disable, configure as follows:
exporters:
otlp_grpc:
...
compression: none
Advanced Configuration
Several helper files are leveraged to provide additional capabilities automatically: