incubator-uniffle icon indicating copy to clipboard operation
incubator-uniffle copied to clipboard

Some metric shows 0

Open xianjingfeng opened this issue 1 year ago • 1 comments

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. image image image

If I'm setting this up wrong, please correct me. (__) Your advice will be of great help to me.

xianjingfeng avatar Jan 24 '24 05:01 xianjingfeng

I have not see it , and here is our conf and it it very simple:

rss.metrics.reporter.class org.apache.uniffle.common.metrics.prometheus.PrometheusPushGatewayMetricReporter
rss.metrics.prometheus.pushgateway.addr   <normal_ip>:9091
**rss.metrics.prometheus.pushgateway.report.interval.seconds 20**
rss.metrics.prometheus.pushgateway.jobname  <normal_jobname>

How about add this: rss.metrics.prometheus.pushgateway.report.interval.seconds

lifeSo avatar Jan 26 '24 13:01 lifeSo