Move #define USE_PROMETHEUS to my_user_config.h

This is where all the other #defines live.

This should make it easier to find the #define for enabling prometheus.
This commit is contained in:
Mark Hansen 2020-06-27 12:04:32 +10:00
parent 5014fb985b
commit b802d34c42
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