Skip to content

Add time-windowed tdigest implementation#9940

Draft
temporal-nick wants to merge 2 commits intomainfrom
nick/tdigest
Draft

Add time-windowed tdigest implementation#9940
temporal-nick wants to merge 2 commits intomainfrom
nick/tdigest

Conversation

@temporal-nick
Copy link
Copy Markdown
Contributor

@temporal-nick temporal-nick commented Apr 14, 2026

What changed?

Added a time-windowed tdigest implementation to allow for local collection of health-related statistics. These will be used to report on system health via the DeepHealthCheck endpoints on the history and frontend services.

Why?

The existing moving averages are not sufficient to track cluster health accurately. T-digest allows for the collection and measurement of trimmed-mean and quantile measures.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@temporal-nick temporal-nick requested a review from yux0 April 14, 2026 01:04
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