Merge pull request #8795 from mhansen/move-prometheus

Move #define USE_PROMETHEUS to my_user_config.h
This commit is contained in:
Theo Arends 2020-06-27 10:33:54 +02:00 committed by GitHub
commit 3ce22c9c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -741,6 +741,9 @@
#define THERMOSTAT_TEMP_BAND_NO_PEAK_DET 1 // Default temperature band in thenths of degrees celsius within no peak will be detected
#define THERMOSTAT_TIME_STD_DEV_PEAK_DET_OK 10 // Default standard deviation in minutes of the oscillation periods within the peak detection is successful
// -- Prometheus exporter ---------------------------
//#define USE_PROMETHEUS // Add support for https://prometheus.io/ metrics exporting over HTTP /metrics endpoint
// -- End of general directives -------------------
/*********************************************************************************************\

View File

@ -17,8 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//#define USE_PROMETHEUS // Enable retrieval of metrics
#ifdef USE_PROMETHEUS
/*********************************************************************************************\
* Prometheus support