Configure OTel metrics SDK for delta vs cumulative temporality per exporter

domain: opentelemetry.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Understand that delta temporality reports changes since the last export while cumulative reports the running total since process start
  2. Configure the exporter's preferred temporality setting; Prometheus prefers cumulative while many OTLP backends prefer delta
  3. Use the temporality selector API in the SDK to assign temporality per instrument kind rather than globally if mixed backends are needed
  4. Test temporality behavior by restarting the instrumented process and observing whether counters reset to zero (delta) or continue accumulating (cumulative)
  5. Document the chosen temporality for each pipeline so consumers know whether to use rate functions or raw values in queries

Known gotchas

Related routes

Convert cumulative OTel Collector metrics to delta temporality with the cumulativetodelta processor
github.com · 6 steps · unrated
Configure an exponential histogram in the OTel SDK and Collector for high-resolution latency distribution without manual bucket tuning
opentelemetry.io · 5 steps · unrated
Record OTel metrics using a Counter, UpDownCounter, and Histogram with the OTel Metrics API and SDK
opentelemetry.io · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans