[增添]增添了time的模板配置

This commit is contained in:
makotocc0107
2024-09-10 09:40:09 +08:00
committed by Coding
parent 9740869781
commit 68325bc759
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ keys = [
"/datasource/", "/datasource/",
"/exporter/", "/exporter/",
"/metrics/", "/metrics/",
"/time/",
] ]
#reload_cmd = "pkill -f opcua-exporter && cd /home/lamonki/opcua-expoter/build && ./manage_opcua_exporter.sh | tee /dev/tty" #reload_cmd = "pkill -f opcua-exporter && cd /home/lamonki/opcua-expoter/build && ./manage_opcua_exporter.sh | tee /dev/tty"

View File

@@ -31,6 +31,6 @@ metrics:
time: time:
global_time: {{ getv "/time/global_time" }} global_time: {{ getv "/time/global_time" }}
node_exporter_time: {{ getv "/time/node_exporter_time" }}
opcua_time: {{ getv "/time/opcua_time" }} opcua_time: {{ getv "/time/opcua_time" }}
node_exporter_time: {{ getv "/time/node_exporter_time" }}
prometheus_time: {{ getv "/time/prometheus_time" }} prometheus_time: {{ getv "/time/prometheus_time" }}