From dd2b753fb7c60cba0c79d9a3a19611312282dbce Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 6 May 2022 16:35:39 +0000 Subject: monitoring: T4418: Add output plugin azure-data-explorer Add output telegraf Plugin Azure Data Explorer set service monitoring telegraf azure-data-explorer authentication client-id 'x' set service monitoring telegraf azure-data-explorer authentication client-secret 'x' set service monitoring telegraf azure-data-explorer authentication tenant-id 'x' set service monitoring telegraf azure-data-explorer database 'x' set service monitoring telegraf azure-data-explorer group-metrics 'single-table' set service monitoring telegraf azure-data-explorer url 'http://localhost.loc' --- .../service_monitoring_telegraf.xml.in | 102 ++++++++++++++++++--- 1 file changed, 89 insertions(+), 13 deletions(-) (limited to 'interface-definitions/service_monitoring_telegraf.xml.in') diff --git a/interface-definitions/service_monitoring_telegraf.xml.in b/interface-definitions/service_monitoring_telegraf.xml.in index ff4c8c55f..bd528ea33 100644 --- a/interface-definitions/service_monitoring_telegraf.xml.in +++ b/interface-definitions/service_monitoring_telegraf.xml.in @@ -42,6 +42,94 @@ + + + Output plugin Azure Data Explorer + + + + + Authentication parameters + + + + + Application client id + + [-_a-zA-Z0-9]+ + + Client-id is limited to alphanumerical characters and can contain hyphen and underscores + + + + + Application client secret + + [-_a-zA-Z0-9]+ + + Client-secret is limited to alphanumerical characters and can contain hyphen and underscores + + + + + Set tenant id + + [-_a-zA-Z0-9]+ + + Tenant-id is limited to alphanumerical characters and can contain hyphen and underscores + + + + + + + Remote database name [REQUIRED] + + txt + Remote database name + + + [-_a-zA-Z0-9]+ + + Database is limited to alphanumerical characters and can contain hyphen and underscores + + + + + Type of metrics grouping when push to Azure Data Explorer + + single-table table-per-metric + + + single-table + Metrics stores in one table + + + table-per-metric + One table per gorups of metric by the metric name + + + (single-table|table-per-metric) + + + table-per-metric + + + + Name of the single table [Only if set group-metrics single-table] + + txt + Table name + + + [-_a-zA-Z0-9]+ + + Table is limited to alphanumerical characters and can contain hyphen and underscores + + + #include + + Remote bucket @@ -206,19 +294,7 @@ - - - Remote URL [REQUIRED] - - url - Remote URL to InfluxDB v2 - - - (http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}?(\/.*)? - - Incorrect URL format. - - + #include #include 8086 -- cgit v1.2.3