Werk #14342: agent_prometheus & prometheus_build_info: change to display version of main instance

Component Checks & agents
Title agent_prometheus & prometheus_build_info: change to display version of main instance
Date Jun 8, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the agent returned an error if the build_info PromQL returned multiple entries. This effectively prevented the user from using the agent for a Prometheus cluster setup. This werk removes this limitation and adjusts the Prometheus Build Service accordingly. The customization is only visible for Prometheus instances running below version 2.14 and the details can be found in the updated man page

To the list of all Werks