Skip to content

Feature/prometheus#39

Draft
az-adhoc wants to merge 6 commits intoacsone:masterfrom
az-adhoc:feature/prometheus
Draft

Feature/prometheus#39
az-adhoc wants to merge 6 commits intoacsone:masterfrom
az-adhoc:feature/prometheus

Conversation

@az-adhoc
Copy link
Copy Markdown

Hi!

This PR addresses #33 and is based on the approach introduced in #38

This is an initial implementation intended to gather feedback and align on the design before refining it further.

Happy to iterate based on your suggestions.

Comment thread go.sum Outdated
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's really a lot of dependencies to emit a 4 lines metrics.

Dependencies would need to be managed, upgraded etc. That sounds like a lot of burden for little benefit. Would the code be much more complicated without them?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I agree.

I mostly opened the PR to move the discussion forward and have something concrete to look at, but you're right that pulling all those dependencies just for a few metrics is probably overkill.

I can rework this to expose metrics manually in Prometheus format without external dependencies.

@az-adhoc az-adhoc force-pushed the feature/prometheus branch from 1877f0b to 5bd5b3d Compare April 25, 2026 20:58
@az-adhoc
Copy link
Copy Markdown
Author

@sbidoul Something like this? 🙂

I ran all the tests locally and it seems to work fine. If you're OK with this approach, we can figure out together how to add tests for it.

@az-adhoc az-adhoc force-pushed the feature/prometheus branch from 5bd5b3d to 0f57fbb Compare April 28, 2026 15:09
@az-adhoc
Copy link
Copy Markdown
Author

az-adhoc commented May 4, 2026

@sbidoul Let me know if you want any more changes.

@az-adhoc az-adhoc force-pushed the feature/prometheus branch from 0f57fbb to 3601eaf Compare May 7, 2026 14:05
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.

3 participants