Skip to content

fix(telemetry): fix SLO integrity issues (PR1.6) - #11

Merged
IanEff merged 1 commit into
mainfrom
fix/slo-integrity-pr1.6
Jul 3, 2026
Merged

fix(telemetry): fix SLO integrity issues (PR1.6)#11
IanEff merged 1 commit into
mainfrom
fix/slo-integrity-pr1.6

Conversation

@IanEff

@IanEff IanEff commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary of PR1.6 Fixes

This PR addresses the loose ends/SLO integrity bugs identified during verification of PR1.5:

  1. T2 · OSD Latency False Alarm:

    • Filtered OSD write latency _bucket and _count queries to {job="ceph-latency-bridge"} to isolate metrics and avoid count inflation from double-scraped sources.
    • Updated the bucket threshold from le="0.099999" to le="102.399999". Since the latency bridge exporter divides raw nanosecond values by 1e6, y-axis values are in ms, meaning the ~100ms bucket matches 102.399999 ms.
    • Aligned corresponding dashboard queries in prototype-observability.json as well.
  2. T1 · Single Series per sloth_id:

    • Wrapped the ceph-health raw SLI query in max() to aggregate away multiple streams. This prevents double-scraped targets (like mgr pod scraped by both kubernetes-pods and rook-ceph-mgr) from leaking duplicate series into the recorded metric.
  3. Gotcha Documentation:

    • Added entries in CLAUDE.md and GEMINI.md to document the singleton series requirement for all Sloth SLIs and detail the OSD Performance Histogram units.

@IanEff
IanEff force-pushed the fix/slo-integrity-pr1.6 branch from d107bb7 to 3562de8 Compare July 3, 2026 20:40
- Filter ceph-osd-latency SLI queries to job="ceph-latency-bridge" and use le="102.399999" (ms units) to address falsified burn rates.
- Wrap ceph-health SLI query in max() to aggregate away double-scraped mgr series.
- Align prototype-observability.json dashboard panel queries with the updated OSD latency bucket/job.
- Re-generate Prometheus recording and alerting rules via 'just gen-slos'.
- Document gotchas regarding Sloth SLI aggregation and latency bridge units in CLAUDE.md and GEMINI.md.
- Record actions in operations log.
@IanEff
IanEff force-pushed the fix/slo-integrity-pr1.6 branch from 3562de8 to d2918e3 Compare July 3, 2026 20:40
@IanEff
IanEff merged commit 5f0486a into main Jul 3, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant