diff --git a/confd/conf.d/opcua.toml b/confd/conf.d/opcua.toml index 964b88d..e9faa60 100644 --- a/confd/conf.d/opcua.toml +++ b/confd/conf.d/opcua.toml @@ -5,6 +5,7 @@ keys = [ "/datasource/", "/exporter/", "/metrics/", + "/time/", ] #reload_cmd = "pkill -f opcua-exporter && cd /home/lamonki/opcua-expoter/build && ./manage_opcua_exporter.sh | tee /dev/tty" diff --git a/confd/templates/opcua.tmpl b/confd/templates/opcua.tmpl index 8f9072c..f7772f3 100644 --- a/confd/templates/opcua.tmpl +++ b/confd/templates/opcua.tmpl @@ -31,6 +31,6 @@ metrics: time: global_time: {{ getv "/time/global_time" }} - node_exporter_time: {{ getv "/time/node_exporter_time" }} opcua_time: {{ getv "/time/opcua_time" }} + node_exporter_time: {{ getv "/time/node_exporter_time" }} prometheus_time: {{ getv "/time/prometheus_time" }}