Skip to content

ref(metrics): Standardize on metrics-rs (breaking change) - #567

Draft
lvthanh03 wants to merge 1 commit into
mainfrom
tony/standardize-metrics-rs
Draft

ref(metrics): Standardize on metrics-rs (breaking change)#567
lvthanh03 wants to merge 1 commit into
mainfrom
tony/standardize-metrics-rs

Conversation

@lvthanh03

@lvthanh03 lvthanh03 commented Sep 1, 2026

Copy link
Copy Markdown
Member

Applications embedding Arroyo should be able to control process-wide observability by installing one metrics-rs recorder (metrics-exporter-dogstatsd for instance`) and have both application and Arroyo metrics flow through it.

To do so, we standardize Arroyo’s Rust metrics on metrics-rs in this PR:

  • Replaces Arroyo’s custom counter, gauge, and timer macros with native metrics-rs macros
  • Removes Arroyo’s custom StatsD backend, recorder management, and metrics module

Downstream applications must remove their Arroyo recorder adapters and initialization. Direct uses of Arroyo’s exported metrics macros must migrate to native metrics-rs macros.

If the application does not install a recorder, metrics are no-ops.

Refs STREAM-1800

@linear-code

linear-code Bot commented Sep 1, 2026

Copy link
Copy Markdown

STREAM-1800

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