Home / Companies / Grafana Labs / Blog / Post Details
Content Deep Dive

How to use OpenTelemetry and Grafana Alloy to convert delta to cumulative at scale

Blog post from Grafana Labs

Post Details
Company
Date Published
Author
Tom Braack
Word Count
1,074
Company Posts That Month
22
Language
English
Hacker News Points
-
Post removed?
No
Summary

Migrating to a Prometheus-like ecosystem such as Grafana Cloud from platforms using different temporalities, like Datadog or Dynatrace, is streamlined by using OpenTelemetry and Grafana Alloy. This integration addresses the challenge of converting delta metrics, which report relative changes, to cumulative metrics, which represent absolute values over time. Grafana Labs has enhanced the OpenTelemetry Collector with a deltatocumulative processor to facilitate this conversion, allowing delta samples to be sent to cumulative backends such as Prometheus. However, this conversion process requires stateful operations, necessitating that each sample of a time series is consistently routed to the same collector instance. To manage this, a load-balancing exporter with streamID-based routing is employed, ensuring samples of the same series are directed to a stable collector endpoint. This setup uses Docker Compose for container orchestration, allowing metrics to be generated, routed, and converted before being sent to a backend like Grafana Cloud. The process is scalable, with even distribution of data points across multiple worker instances, but it remains in early stages, inviting community feedback and contributions to further refine its operational complexity.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
OpenTelemetry 13 461 40 15 +26%
Kubernetes 2 1,530 167 62 +10%
Observability 1 1,473 288 90 -20%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.