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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p3 2.0.0p26
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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