[Questions] Missing metrics in per-object endpoint compared to aggregated metrics #14853
-
Community Support Policy
RabbitMQ version used4.1.4 Erlang version used27.3.x How is RabbitMQ deployed?Community Docker image Steps to reproduce the behavior in questionIt appears that some metrics present in the aggregated metrics are missing from the per-object metrics. To verify, you can save the aggregated metrics to a file named for metric in $(grep -vE "^#" metrics | awk '{print $1}' | cut -d{ -f1 | sort -u); do grep -q "$metric" per_object || echo "$metric"; doneresult is: What problem are you trying to solve?I’m scraping the per-object endpoint and wanted to add an alert for the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
it's a judgment call whether per-object endpoint should return everything, or just the per-object metrics. I'm not sure we have a clear decision on this, so there could be that different components (metrics comes from many places) behave differently. We should probably decide and unify the behaviour, but I'm not sure which way. A quick workaround/solution is to scrape both endpoints |
Beta Was this translation helpful? Give feedback.
you're right, seems like this was a part of that reorg. somehow I thought that some of these have been out of scope of what I changed.
Anyway, @guoard please try 4.2.