Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: fda8349907e2948fe836b8e07390276e3a88fadc
https://github.com/tribe29/checkmk/commit/fda8349907e2948fe836b8e07390276e3…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-08-26 (Fri, 26 Aug 2022)
Changed paths:
A .werks/14553
M cmk/special_agents/agent_prometheus.py
Log Message:
-----------
14553 FIX Prometheus: Bad request url /api/v1/api/v1/status/buildinfo
Previously, the Prometheus special agent would query endpoints, which
don't exist. This would (depending on the the HTTP response of the
server) result in the following error
C+:
[special_prometheus] Agent exited with code 1: 400 Client Error: Bad
Request for url:
http://127.0.0.1:8428/api/v1/api/v1/status/buildinfo(!!)
C-:
Moreover, the buildinfo would sometimes be incomplete. Note, the new
error is a regression introduced in werk 14132. With this werk, the
Prometheus agent queries the endpoints
C+:
/api/v1/status/buildinfo
/api/v1/status/runtimeinfo
C-:
SUP-11346
Change-Id: If05d049b9a9809d22663ba91329a837af7f70a3f