Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.58 KB

File metadata and controls

41 lines (33 loc) · 1.58 KB

OTLP Exporter

Exports traces and/or metrics via gRPC using OpenTelemetry format.

The following settings are required:

The following settings can be optionally configured:

  • cert_pem_file: certificate file for TLS credentials of gRPC client. Should only be used if insecure is set to false.
  • compression: compression key for supported compression types within collector. Currently the only supported mode is gzip.
  • headers: the headers associated with gRPC requests.
  • insecure (default = false): whether to enable client transport security for the exporter's gRPC connection. See grpc.WithInsecure().
  • keepalive: keepalive parameters for client gRPC. See grpc.WithKeepaliveParams().
  • reconnection_delay: time period between each reconnection performed by the exporter.
  • insecure: whether to enable client transport security for the exporter's gRPC connection. See grpc.WithInsecure().

Example:

exporters:
  otlp:
    endpoint: otelcol2:55680
    reconnection_delay: 60s
    insecure: true

The full list of settings exposed for this exporter are documented here with detailed sample configurations here.