Hello i have a few questions in regards to server ...
# troubleshooting
g
Hello i have a few questions in regards to server metrics, why is that some metrics are reported as pinot_server_pinot_server_realtimeRowsFetched_OneMinuteRate for example, but others are pinot_server_3_Value{database="upsertPrimaryKeysCount",... making them server specific
x
those are reported by the jmx prometheus reporter
you can check the jmx config file for how the metrics are queried and generated
g
can you give me suggestion on how to fix it as i'm not a java developer
g
yes i did use the tutorial for prometheus and grafana, but how do i change the javaagent script? Do i need to make a custom build out of it in order to update it ?
or i can do it through args when starting the container
-Dplugins.dir=/opt/pinot/plugins -javaagent/opt/pinot/etc/jmx prometheus javaagent/jmx prometheus javaagent.jar=8008/opt/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml"
i pass this to server, controller, broker for metrics
and as far as i see there is also a type(server,controller...) file
should i update it to them ?