Hi,
I just noticed across different Ceph versions that when browsing the
dashboard, the MGR is logging lots of prometheus queries for the
balancer status:
Sep 30 11:15:55 host2 ceph-mgr[3993215]: log_channel(cluster) log
[DBG] : pgmap v25341: 381 pgs: 381 active+clean; 3.9 GiB data, 69 GiB
used, 311 GiB / 380 GiB avail; 954 B/s rd, 1 op/s
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:56 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:57 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
Sep 30 11:15:59 host2 conmon[3993190]: 192.168.168.62 - -
[30/Sep/2024:09:15:59] "GET /metrics HTTP/1.1" 200 71320 ""
"Prometheus/2.33.4"
Sep 30 11:16:02 host2 ceph-mgr[3993215]: log_channel(audit) log [DBG]
: from='mon.1 -' entity='mon.' cmd=[{"prefix": "balancer status",
"format": "json"}]: dispatch
At least I assume that this is prometheus if I interpret [0]
correctly. In this case, the balancer is even disabled.
Why is it necessary to query the balancer status that often? I
couldn't find any useful config related to this.
This was noticed on Pacific (16.2.15) and Squid (19.1.1), both with
Prometheus version 2.33.4. I haven't tried other Prometheus versions
yet. I will check it with a newer Prometheus version as well.
Thanks,
Eugen
[0]
https://github.com/ceph/ceph/blob/2d93ad5a87a720c9756ea1eac9d95e1067b80976/src/pybind/mgr/dashboard/controllers/prometheus.py#L105
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx