-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add http prometheus metrics #3432
Conversation
Signed-off-by: Max Knee <[email protected]>
@jimsheldon would we be able to get some eyes on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a look at this, and based on the documentation for chi-prometheus: You add the middleware. But it looks like you need to add a handle for the endpoint to be active https://github.com/766b/chi-prometheus/blob/master/example/main.go#L23
Am i missing something from the documentation ?
Since there's already a running on a locally built version:
|
The metrics endpoint already declared: https://github.com/harness/gitness/pull/3432/files#diff-18f1f0e1c5973f4caeda8a50df35e925c9a92ffe265e7d77a75da01494188796R68 |
thanks @maxknee merged !! |
@tphoney do we have an idea when there will be a new release? |
|
Oh wow. Awesome!
…On Tue, Jan 2, 2024, 10:57 AM TP Honey ***@***.***> wrote:
@tphoney <https://github.com/tphoney> do we have an idea when there will
be a new release?
https://hub.docker.com/r/drone/drone/tags
—
Reply to this email directly, view it on GitHub
<#3432 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABVGWAAYNKIF55KYXAOPATYMQU6HAVCNFSM6AAAAABABVIFQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGIYDSNBYG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi guys. I've learned about this amazing project, and while reviewing the release notes, I found this particular PR. From what I can see, your project still uses a very old version of the Chi router, currently at version v5.0.12. This PR introduces a very outdated, abandoned dependency that lacks Go modules support. Moreover, these dependencies are based on an old version of Chi. I might be misunderstanding this, but don't you think there could be issues with updating Chi because of this outdated dependency? |
@maxknee @tphoney This has flooded our Prometheus server with millions of metrics, causing massive performance issues. While we can drop and filter the chi metrics in Prometheus, enabling this by default without an option to disable it in drone might not be the best way. Would you consider adding an option to disable chi metrics in drone? |
Yes - working on optimizing it |
This will add metrics to http endpoints to measure latency and to see if other parts of infra are working
This will close #2421