Hi Eugen, I checked the query[1], one of the recent patches has removed the host filter(as mentioned by you) from the query. Will send the patch and fix the issue. [1]. https://github.com/ceph/ceph/blame/89f21db321ddd404654b0064a61b0aa5428d6f7e/... On Tue, Feb 25, 2025 at 5:48 PM Eugen Block <eblock@nde.ag> wrote:
Hi,
as always, I looked briefly into the tracker but couldn't find anything related (yet). Not sure if this has been reported or not, but after I upgraded a customer cluster to Squid (19.2.0), Grafana was also upgraded to version 9.4.12. And now the host details show all 126 OSDs for each host instead of the number per host. The respecitve query is simply:
"expr": "count(sum by (ceph_daemon) (ceph_osd_metadata{cluster=~\"$cluster\", }))",
To me it looks like there's something missing after the comma, this query for example shows the actual number of OSDs on that host:
count(sum by (ceph_daemon)
(ceph_osd_metadata{cluster=~"9bafee50-775c-11eb-9ed6-4c52620b498e",hostname="ses01"}))
If this has been already reported, could anyone point me to the according tracker? If not, I'd be happy to create a new one.
Thanks! Eugen _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io