otlp

Reference for the `otlp` adapter.

otlp · adapter · run nanook doc otlp for the same content in your terminal.

Exports metrics via OpenTelemetry Protocol (OTLP) over HTTP/JSON.

Options

OptionTypeDefaultDescription
urlstringrequired 🔒OTLP endpoint URL
timeoutstring10request timeout in seconds

Examples

Local OTLP collector

[[adapters]]
kind = "otlp"
[adapters.opts]
url = "http://localhost:4318/v1/metrics"

Custom timeout

[[adapters]]
kind = "otlp"
[adapters.opts]
url = "http://otel-collector.internal:4318/v1/metrics"
timeout = 30