boluor commented on issue #2924:
URL: https://github.com/apache/doris-website/issues/2924#issuecomment-4525796217
\`doris_be_cpu\` is a real BE metric, defined in
\`be/src/common/metrics/system_metrics.cpp\` (also present on branch-2.1 /
branch-3.0 / branch-3.1 / master). It's a metric **family** exposed with labels
— the actual lines on the \`/metrics\` endpoint look like:
\`\`\`
doris_be_cpu{device=\"cpu0\",mode=\"user\"} 1234567
doris_be_cpu{device=\"cpu0\",mode=\"idle\"} 9876543
doris_be_cpu{device=\"cpu0\",mode=\"system\"} ...
... (modes:
user/nice/system/idle/iowait/irq/soft_irq/steal/guest/guest_nice)
doris_be_cpu{device=\"cpu1\",mode=\"user\"} ...
\`\`\`
If you grep \`doris_be_cpu\` against your BE \`/metrics\` output and see
nothing, it usually means the BE either doesn't have \`/proc/stat\` access
(e.g. constrained container) or system-metric collection is disabled. Could you
share a snippet of \`curl http://<be>:8040/metrics | grep cpu\` so we can
confirm whether the metric family is being emitted on 2.1.7-rc03?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]