Skip to content

Expose p95 and declare commit-to-ack latency histograms#1020

Merged
akshayrai merged 2 commits into
linkedin:masterfrom
akshayrai:akrai/e2e-commit-to-ack-sla
May 22, 2026
Merged

Expose p95 and declare commit-to-ack latency histograms#1020
akshayrai merged 2 commits into
linkedin:masterfrom
akshayrai:akrai/e2e-commit-to-ack-sla

Conversation

@akshayrai
Copy link
Copy Markdown
Collaborator

@akshayrai akshayrai commented May 21, 2026

Summary

  • Adds 95thPercentile to the existing histogram declarations for eventsLatencyMs, eventsLatencyMsSlaIneligible, and throughputViolatingEventsLatencyMs (previously only p50/p99/p999 were declared).
  • Declares BrooklinHistogramInfo entries for eventsCommitToAckLatencyMs and eventsCommitToAckLatencyMsSlaIneligible (added in Add eventsCommitToAckLatencyMs SLA metric #1018) with p50/p95/p99/p999 — without these the metrics framework did not
    advertise percentile attributes for the commit-to-ack histograms.

All changes are in EventProducer.getMetricInfos(); no runtime behavior changes — the underlying Dropwizard Snapshot already computes these percentiles.

Testing Done

  • Compiles locally
  • Declaration-only change; verified the percentile constants exist in BrooklinHistogramInfo (PERCENTILE_50/95/99/999).

akshayrai added 2 commits May 21, 2026 21:59
Declares 95thPercentile alongside the existing 50/99/999 percentiles for
eventsLatencyMs, eventsLatencyMsSlaIneligible, and
throughputViolatingEventsLatencyMs so the p95 latency point is exposed
on these histograms.
Adds BrooklinHistogramInfo entries for eventsCommitToAckLatencyMs and
eventsCommitToAckLatencyMsSlaIneligible with p50/p95/p99/p999, matching
the existing eventsLatencyMs declarations. Without these the metrics
framework did not advertise percentile attributes for the commit-to-ack
histograms.
@akshayrai akshayrai changed the title Add p95 to eventsLatencyMs histogram declarations Expose p95 and declare commit-to-ack latency histograms May 21, 2026
@akshayrai akshayrai marked this pull request as ready for review May 22, 2026 02:58
Copy link
Copy Markdown
Collaborator

@kanishkjaiswal2015 kanishkjaiswal2015 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akshayrai akshayrai merged commit 0147252 into linkedin:master May 22, 2026
1 check passed
@mittalprince mittalprince mentioned this pull request May 22, 2026
1 task
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.

3 participants