Skip to content

feat: metrics module#3120

Open
paegun wants to merge 6 commits into
authzed:mainfrom
paegun:feature/metrics-module
Open

feat: metrics module#3120
paegun wants to merge 6 commits into
authzed:mainfrom
paegun:feature/metrics-module

Conversation

@paegun
Copy link
Copy Markdown

@paegun paegun commented May 15, 2026

Description

Throughout, use of prometheus.Register and prometheus.Unregister lead to test isolation being compromised. This change makes the Prometheus Registerer an injectable.

As expected w/i #2829 , promauto use also needed to be removed.

Reverted #2957 which worked around the test isolation issue.

This is a more aggressive change than #3106 . This change replaces direct Prometheus usage w/i all business logic paths.

Testing

[X] Execute unit tests
[X] Execute integration tests
[X] Test w/ docker compose + Apache Benchmark
[X] Review metrics via Grafana dashboard

References

#2829

@paegun paegun requested a review from a team as a code owner May 15, 2026 14:56
@github-actions github-actions Bot added area/cli Affects the command line area/api v1 Affects the v1 API area/datastore Affects the storage system area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) area/dispatch Affects dispatching of requests area/api http Affects the HTTP Gateway API labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api http Affects the HTTP Gateway API area/api v1 Affects the v1 API area/cli Affects the command line area/datastore Affects the storage system area/dispatch Affects dispatching of requests area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant