Skip to content

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

Merged
lvthanh03 merged 1 commit into
mainfrom
tony/standardize-metrics-rs
Sep 3, 2026
Merged

ref(metrics): Standardize on metrics-rs (breaking change)#567
lvthanh03 merged 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 support that, 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

@lvthanh03
lvthanh03 marked this pull request as ready for review September 2, 2026 15:44
@lvthanh03
lvthanh03 requested review from a team as code owners September 2, 2026 15:44
@lvthanh03
lvthanh03 merged commit 42f1dba into main Sep 3, 2026
23 checks passed
@lvthanh03
lvthanh03 deleted the tony/standardize-metrics-rs branch September 3, 2026 19:40
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.

2 participants