Duplicate help statements in Prometheus metrics in 16.2.13
Dear all, after the update to CEPH 16.2.13 the Prometheus exporter is wrongly exporting multiple metric help & type lines for ceph_pg_objects_repaired: [mon1] /root #curl -sS http://localhost:9283/metrics # HELP ceph_pg_objects_repaired Number of objects repaired in a pool Count # TYPE ceph_pg_objects_repaired counter ceph_pg_objects_repaired{poolid="34"} 0.0 # HELP ceph_pg_objects_repaired Number of objects repaired in a pool Count # TYPE ceph_pg_objects_repaired counter ceph_pg_objects_repaired{poolid="33"} 0.0 # HELP ceph_pg_objects_repaired Number of objects repaired in a pool Count # TYPE ceph_pg_objects_repaired counter ceph_pg_objects_repaired{poolid="32"} 0.0 [...] This annoys our exporter_exporter service so it rejects the export of ceph metrics. Is this a known issue? Will this be fixed in the next update? Cheers, Andreas -- | Andreas Haupt | E-Mail: andreas.haupt@desy.de | DESY Zeuthen | WWW: http://www.zeuthen.desy.de/~ahaupt | Platanenallee 6 | Phone: +49/33762/7-7359 | D-15738 Zeuthen | Fax: +49/33762/7-7216
Hi Andreas,
On 5 Jun 2023, at 14:57, Andreas Haupt <andreas.haupt@desy.de> wrote:
after the update to CEPH 16.2.13 the Prometheus exporter is wrongly exporting multiple metric help & type lines for ceph_pg_objects_repaired:
[mon1] /root #curl -sS http://localhost:9283/metrics # HELP ceph_pg_objects_repaired Number of objects repaired in a pool Count # TYPE ceph_pg_objects_repaired counter ceph_pg_objects_repaired{poolid="34"} 0.0 # HELP ceph_pg_objects_repaired Number of objects repaired in a pool Count # TYPE ceph_pg_objects_repaired counter ceph_pg_objects_repaired{poolid="33"} 0.0 # HELP ceph_pg_objects_repaired Number of objects repaired in a pool Count # TYPE ceph_pg_objects_repaired counter ceph_pg_objects_repaired{poolid="32"} 0.0 [...]
This annoys our exporter_exporter service so it rejects the export of ceph metrics. Is this a known issue? Will this be fixed in the next update?
We have backport for this issue [1] [1] https://github.com/ceph/ceph/pull/51692 k
participants (2)
-
Andreas Haupt
-
Konstantin Shalygin