Skip to content

Latest commit

 

History

History

OTLP HTTP Exporter

Status
Stability alpha: profiles
stable: traces, metrics, logs
Distributions core, contrib, k8s, otlp
Issues Open issues Closed issues

The otlp_http exporter sends logs, metrics, profiles and traces via HTTP using OTLP format.

The otlphttp deprecated alias exists for the component name. It will be removed in a future version. If you use the deprecated alias otlphttp in your configuration, change it to otlp_http.

The following settings are required:

The following settings can be optionally configured:

Example:

exporters:
  otlp_http:
    endpoint: https://example.com:4318

By default gzip compression is enabled. See compression comparison for details benchmark information. To disable, configure as follows:

exporters:
  otlp_http:
    ...
    compression: none

By default proto encoding is used, to change the content encoding of the message configure it as follows:

exporters:
  otlp_http:
    ...
    encoding: json

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