Built-in export profile for VictoriaMetrics.
Use this profile when you want otel_bridge to emit metrics through an OTLP
metric reader configured for VictoriaMetrics-compatible workflows.
This profile configures cumulative temporality for synchronous counters and histograms to align with VictoriaMetrics and Prometheus-style query expectations.
For HTTP protobuf exports, the profile supports :timeout_ms and
:connect_timeout_ms. Standard OTLP timeout environment variables are applied
by OtelBridge.Exporter and take precedence over profile options.
Typical usage
config :opentelemetry_experimental,
readers: [
OtelBridge.metric_reader!(:victoria_metrics,
export_interval_ms: 5_000,
endpoint: "http://localhost:4318"
)
]If you need different backend behavior, create another
OtelBridge.Profile implementation instead of changing business metric
definitions.
Summary
Functions
Returns the synchronous temporality defaults used by this profile.
Builds an :otel_metric_reader configuration for VictoriaMetrics.
Functions
Returns the synchronous temporality defaults used by this profile.
Builds an :otel_metric_reader configuration for VictoriaMetrics.
Required options:
:export_interval_ms:endpoint
Optional options:
:protocol- defaults to:http_protobuf:timeout_ms- HTTP export timeout; defaults to the OTLP standard of10_000, and0means no limit:connect_timeout_ms- defaults to5_000, capped by:timeout_ms; a no-limit OTLP timeout also removes the default connection limit