Skip to content

Add factory StoreTimerMetricCollector.fromStoreTimer - #4872

Merged
sergei-pustovykh merged 1 commit into
mainfrom
apple/sergei-pustovykh/store-timer-metric-collector
Nov 10, 2026
Merged

sergei-pustovykh merged 1 commit into
mainfrom
apple/sergei-pustovykh/store-timer-metric-collector

Conversation

@sergei-pustovykh

Copy link
Copy Markdown
Contributor

Add StoreTimerMetricCollector.fromStoreTimer(StoreTimer). It returns a collector that sends every metric to the given timer.

Tests:

  • StoreTimerMetricCollectorFromStoreTimerTest: writes go to the given timer, and reads come from it.
  • OfflineStoredQueriesProcessorTest.planStoredQueriesCountsOnTheStoreTimer: warm-up puts its counters and its event on the timer.

@sergei-pustovykh sergei-pustovykh added the enhancement New feature or request label Nov 10, 2026
@sergei-pustovykh
sergei-pustovykh merged commit 8849a1f into main Nov 10, 2026
13 checks passed
@sergei-pustovykh
sergei-pustovykh deleted the apple/sergei-pustovykh/store-timer-metric-collector branch November 10, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants