mirror of https://github.com/arendst/Tasmota.git
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:
parent
5014fb985b
commit
b802d34c42
|
@ -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_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
|
#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 -------------------
|
// -- End of general directives -------------------
|
||||||
|
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define USE_PROMETHEUS // Enable retrieval of metrics
|
|
||||||
|
|
||||||
#ifdef USE_PROMETHEUS
|
#ifdef USE_PROMETHEUS
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
* Prometheus support
|
* Prometheus support
|
||||||
|
|
Loading…
Reference in New Issue