prometheus
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
},
|
},
|
||||||
"runArgs": [
|
"runArgs": [
|
||||||
"--label", "prometheus=true",
|
"--label", "prometheus=true",
|
||||||
"--network=proxy_net",
|
"--network=tp_net",
|
||||||
"--name=pompes"
|
"--name=pompes"
|
||||||
],
|
],
|
||||||
"customizations": {
|
"customizations": {
|
||||||
|
|||||||
0
main-prometheus.cpp
Normal file
0
main-prometheus.cpp
Normal file
7
main.cpp
7
main.cpp
@@ -824,13 +824,6 @@ void InitPrometheus()
|
|||||||
|
|
||||||
void ProcessPrometheus()
|
void ProcessPrometheus()
|
||||||
{
|
{
|
||||||
// raising = 1 => front montant sur la sortie
|
|
||||||
/*
|
|
||||||
if (_digital[OUT_PUMP_1].raising) {
|
|
||||||
std::array<const char*, 1> labels1 = { "1" };
|
|
||||||
prom_counter_inc(pm_pompe, labels1.data());
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
debit_entree->Set(_digital[IN_FLOW_OUT].dvalue);
|
debit_entree->Set(_digital[IN_FLOW_OUT].dvalue);
|
||||||
debit_sortie->Set(_digital[IN_FLOW_IN].dvalue);
|
debit_sortie->Set(_digital[IN_FLOW_IN].dvalue);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user