Some metric shows 0
- Dominant language
- Java
- Stars
- 454
- Forks
- 172
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 5
Description
### Discussed in https://github.com/apache/incubator-uniffle/discussions/1268
Originally posted by **youjeongsue** October 27, 2023
Hi. I'm setting up a prometheus pushgateway to collect metrics.
https://github.com/apache/incubator-uniffle/blob/master/docs/metrics_guide.md#report-metrics-to-prometheus-automatically
```
rss.metrics.prometheus.pushgateway.addr rss-pushgateway...com:80
rss.metrics.prometheus.pushgateway.jobname rss-shuffle-server
rss.metrics.reporter.class org.apache.uniffle.common.metrics.prometheus.PrometheusPushGatewayMetricReporter
```
However, I only get the JVM related metrics to show up properly, all the others are collected as zeros.
If I'm setting this up wrong, please correct me. (__)
Your advice will be of great help to me.
Contributor guide
Research direction
Start with docs/metrics_guide.md, especially the report-to-Prometheus section, and inspect org.apache.uniffle.common.metrics.prometheus.PrometheusPushGatewayMetricReporter. Compare how JVM-related and other metrics are collected and pushed using the configuration shown. Done means the cause of non-JVM metrics appearing as zero is identified and the documented setup or implementation behavior is corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, prometheus
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100