diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-28 14:47:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 14:47:37 +0200 |
commit | f36271bd2f91aa6cf0bc0176160d3a2abfb9a21f (patch) | |
tree | a8fe21633e1698e65676b6c9f0e0a7f963a8f83e /interface-definitions | |
parent | 12fcf6c5ef2e5678b0b88c34d6c031435d85ec68 (diff) | |
parent | 3365eb7ab99fa9a259fe440eb51e82fc0a0a4dc6 (diff) | |
download | vyos-1x-f36271bd2f91aa6cf0bc0176160d3a2abfb9a21f.tar.gz vyos-1x-f36271bd2f91aa6cf0bc0176160d3a2abfb9a21f.zip |
Merge pull request #3720 from sever-sever/T6477
T6477: Add telegraf loki output plugin
Diffstat (limited to 'interface-definitions')
-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> |