Werk #12764: agent_prometheus: don't crash if the cAdvisor is used without a namespace prefix

Component Checks & agents
Title agent_prometheus: don't crash if the cAdvisor is used without a namespace prefix
Date May 19, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p5 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

This werk only affects you if you use the scrape target cAdvisor with the option "Entity level used to create Checkmk piggyback hosts" set to "Pod". If "Prepend namespace prefix for hosts" was not selected, the agent crashed with an error message. To be consistent with the remaining entity levels and the scrape target "Kube-state-metrics" the value is now mandatory.

To the list of all Werks