Skip to content
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

Enable gc metric collection in Prometheus #256

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jdforrester
Copy link
Member

Fork of #255 so I can edit it too.

gmodena and others added 6 commits December 12, 2024 11:10
Add a config option to collect default metrics
(including GC). This should be enable only when
running with no workers.
Throw an excpetion if metrics.prometheus.collect_default
is enabled in cluster mode.
Add a noop type of metric not registered by service-runner Metric interface.
This is used to delegate collection of default prometheus
metrics to prom-client.collectDefaultMetrics.
@jdforrester jdforrester force-pushed the enable-gc-metric-collection branch from e759cdf to 2bee736 Compare December 12, 2024 16:17
@jdforrester
Copy link
Member Author

OK! This is now mergeable. @gmodena, if you're OK I'll land this?

@jdforrester jdforrester changed the title WIP: Enable gc metric collection Enable gc metric collection in Prometheus Dec 12, 2024
@jdforrester jdforrester requested a review from mvolz December 19, 2024 15:41
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