Skip to content

observability: no histograms are exported, so no latency SLO is expressible #2047

Closed

Description

@thiras

Follow-up from #2046.

The exporter registers no histograms at all — decdn_.*(_bucket|_sum|_count) matches
only two gauges that happen to end in _count. So histogram_quantile has nothing to read
and no latency SLO can be expressed in PromQL anywhere in the fleet.

The only latency distribution available today comes from Tempo:

{resource.service.name="decdn-node" && name="run-probe"}
  | quantile_over_time(duration, .5, .95, .99)

That works, but it depends on trace sampling and on a dependency crate's span, not on our
own instrumentation.

adr/appendix-observability.md already specifies the first one and marks it planned:

Metric Type Tier Status Buckets
decdn_probe_collection_latency_seconds Histogram M planned [0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5]

It is M-tier, so the node is specified to expose it or refuse to start. Implementing it
would also exercise the histogram path end to end for the first time — note
exported_series() in crates/node/src/metrics.rs already strips _bucket/_sum/_count
precisely so the first live histogram row does not fail the registry gate, but that branch
has never run against a real histogram.

Worth considering alongside it: a serve-leg and a pull-leg duration histogram would turn the
delivery dashboard's rate panels into a RED view.

Activity

  1. added
    kind:feature
    prio:medium
    on Sep 18, 2026
  2. moved this from Backlog to Ready in deCDNon Sep 21, 2026
  3. self-assigned this
    on Sep 24, 2026
  4. moved this from Ready to In progress in deCDNon Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:featureprio:medium

Type

No type

Fields

Priority

Medium

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions