diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-06-25 09:56:47 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-06-28 10:35:05 +0000 |
commit | 3365eb7ab99fa9a259fe440eb51e82fc0a0a4dc6 (patch) | |
tree | f4c0d5e7f6e28b624eb563f73cbd8cf3d0030c09 /interface-definitions/service_monitoring_telegraf.xml.in | |
parent | 4f89e4b7a19a58d893e4e89a6e8491f239f1122e (diff) | |
download | vyos-1x-3365eb7ab99fa9a259fe440eb51e82fc0a0a4dc6.tar.gz vyos-1x-3365eb7ab99fa9a259fe440eb51e82fc0a0a4dc6.zip |
T6477: Add telegraf loki output plugin
Add Loki plugin to telegraf
set service monitoring telegraf loki url xxx
Diffstat (limited to 'interface-definitions/service_monitoring_telegraf.xml.in')
-rw-r--r-- | interface-definitions/service_monitoring_telegraf.xml.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/interface-definitions/service_monitoring_telegraf.xml.in b/interface-definitions/service_monitoring_telegraf.xml.in index 2624023ea..2ac0d940e 100644 --- a/interface-definitions/service_monitoring_telegraf.xml.in +++ b/interface-definitions/service_monitoring_telegraf.xml.in @@ -148,6 +148,39 @@ #include <include/url-http-https.xml.i> </children> </node> + <node name="loki"> + <properties> + <help>Output plugin Loki</help> + </properties> + <children> + <node name="authentication"> + <properties> + <help>HTTP basic authentication parameters</help> + </properties> + <children> + #include <include/generic-username.xml.i> + #include <include/generic-password.xml.i> + </children> + </node> + <leafNode name="metric-name-label"> + <properties> + <help>Metric name label</help> + <valueHelp> + <format>txt</format> + <description>Label to use for the metric name</description> + </valueHelp> + <constraint> + #include <include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i> + </constraint> + </properties> + </leafNode> + #include <include/port-number.xml.i> + <leafNode name="port"> + <defaultValue>3100</defaultValue> + </leafNode> + #include <include/url-http-https.xml.i> + </children> + </node> <leafNode name="source"> <properties> <help>Source parameters for monitoring</help> |