Skip to content

Latest commit

 

History

History
105 lines (71 loc) · 2.99 KB

README.md

File metadata and controls

105 lines (71 loc) · 2.99 KB

Exporters

Below is the list of exporters directly supported by the OpenTelemetry Service.

The contributors repository has more exporters that can be added to custom builds of the service.

Jaeger

Exports trace data to Jaeger collectors accepting one of the following protocols:

Configuration

Each different supported protocol has its own configuration settings.

gRPC

Example:

exporters:
  jaeger-grpc:
    endpoint: jaeger-all-in-one:14250

Logging

Exports traces and/or metrics to the console via zap.Logger

Configuration

  • loglevel: the log level of the logging export (debug|info|warn|error). Default is info.

OpenCensus

Exports traces and/or metrics to another OTel-Svc endpoint via gRPC.

Configuration

  • endpoint: target to which the exporter is going to send traces or metrics, using the gRPC protocol. The valid syntax is described at https://github.com/grpc/grpc/blob/master/doc/naming.md. Required.

  • compression: compression key for supported compression types within collector. Currently the only supported mode is gzip. Optional.

  • headers: the headers associated with gRPC requests. Optional.

  • num-workers: number of workers that send the gRPC requests. Optional.

  • secure: whether to enable client transport security for the exporter's gRPC connection. See grpc.WithInsecure(). Optional.

  • cert-pem-file: certificate file for TLS credentials of gRPC client. Should only be used if secure is set to true. Optional.

  • reconnection-delay: time period between each reconnection performed by the exporter. Optional.

  • keepalive: keepalive parameters for client gRPC. See grpc.WithKeepaliveParams(). Optional.

Example:

exporters:
  opencensus:
    endpoint: 127.0.0.1:14250
    reconnection-delay: 60s
    secure: false

Prometheus

TODO: document settings

Zipkin

Exports trace data to a Zipkin back-end.

Configuration

The following settings can be configured:

  • url: URL to which the exporter is going to send Zipkin trace data. This setting doesn't have a default value and must be specified in the configuration.

Example:

exporters:
  zipkin:
    url: "http://some.url:9411/api/v2/spans"