Shifting Metrics Right
Instead of pre-aggregating metrics inside applications, generate them as late as responsibly possible in the telemetry pipeline, either in the OpenTelemetry Collector or in the backend from traces and logs. The argument separates measurements (questions you want answered) from metrics (a pre-aggregated storage type). It claims the accuracy loss from sampling is negligible: one customer's sampled, trace-derived metrics were within 0.001% of their pre-aggregated data at a fraction of the cost. In-app aggregation buffers data for 10 to 60 seconds and can silently lose datapoints on a crash. A signaltometrics connector config shows how to derive HTTP semantic-convention exponential histograms from spans using AdjustedCount to account for sampling.
Related posts
- Is it over for metrics?
ClickHouse easyNovice
Metrics are pre-aggregated, low-cardinality summaries that remain useful for inherently aggregate signals like CPU and memory and for stable alert thresholds, but they discard the high-cardinality dimensions (pod ID, request ID, trace ID) needed to debug specific failures and are hard to correlate with logs and traces. As columnar stores like ClickHouse make incremental rollups over structured wide events cheap, a metric becomes effectively a cached query: you keep raw events at full fidelity and derive aggregates as a performance optimization. That moves curation later, letting humans and LLM agents decide what to aggregate after exploring real data, much like the ETL-to-ELT shift.
- Migrate Datadog telemetry with the OpenTelemetry Collector
ClickHouse mediumAdept
The OpenTelemetry Collector's Datadog receiver lets existing Datadog agents and SDKs send logs, traces and metrics to a Collector. The Collector translates them into the OpenTelemetry data model, and they can then be exported to any backend or dual-written alongside Datadog for side-by-side evaluation. ClickHouse contributed fixes upstream: proper log timestamps and severity mapping, promotion of resource attributes, reconstruction of 128-bit trace IDs for log-trace correlation, in-Collector JSON log decoding, and Zstandard support for Datadog Agent 7.59+. A worked example points a Datadog agent's datadog.yaml at ClickStack's Collector on port 8126. The receiver is still alpha: it is recommended for evaluating logs and traces, while metrics support covers only the v1/v2 intake endpoints and needs more testing.
- The three villains to agentic observability: retention, sampling and rollups
ClickHouse easyNovice
Retention limits, trace sampling and metric roll-ups are framed as workarounds for storage engines that struggle with cost and high cardinality, not observability best practices. The workarounds become hard limits when AI agents do root-cause analysis, because agents lack the human intuition to fill gaps left by missing history, dropped traces or aggregated-away dimensions like customer ID. The proposed fix is column-oriented storage with high compression (around 50x) on object storage (around $0.025/GB). That makes full-fidelity, long-retention telemetry affordable and leaves sampling and roll-ups as optional optimizations rather than defaults.
- Logs, Metrics, and Traces: What Does Each Signal Tell You?
Railway easyNoviceLogs, metrics and traces answer different questions: metrics show when behaviour changed, traces show where in the service graph a request slowed or failed, and logs explain why. A worked checkout incident follows a p99 latency alert to a slow fraud-check span and then to logs filtered by trace_id, which is why structured JSON logs should carry trace_id/span_id and services should propagate the W3C traceparent header. On Railway, logs and infrastructure metrics are collected natively, while traces need OpenTelemetry exported to a third-party backend.
- How We Export Metrics to Third-Party Services
Neon mediumAdept
Neon streams Postgres and host metrics to Datadog, New Relic and any OTLP-compatible platform by running a per-project OpenTelemetry Collector colocated with compute pods in each region. Collectors are provisioned through the OTel Kubernetes Operator via a custom resource. Each one scrapes sql_exporter and Vector endpoints using Kubernetes pod service discovery filtered by project label, then applies memory limiting and batching before exporting. Per-project placement was chosen over per-user or per-org collectors to avoid cross-region scraping latency and to keep failure domains isolated, and the setup reuses the same scraping model as the internal vmagent/VictoriaMetrics monitoring pipeline.