Werk #12704: Do not create Carbon data if no connection is configured

Component Core & setup
Title Do not create Carbon data if no connection is configured
Date Mar 15, 2022
Checkmk Editon Checkmk Enterprise (CEE)
Checkmk Version 2.2.0i1 2.1.0b2 2.0.0p22
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The core would create and enqueue data for the Carbon connection even if none is configured. This may incur a small performance penalty and, provided the site generates a large amount of data, log messages such as [carbon connection pool] queue full, didn't push update that are irrelevant.

This fix only sends data to the Carbon connection if necessary.

To the list of all Werks