"use strict";(self.webpackChunkinfluxdb_ui=self.webpackChunkinfluxdb_ui||[]).push([[228],{37837:e=>{e.exports='# Read metrics from one or many ClickHouse servers\n[[inputs.clickhouse]]\n  ## Username for authorization on ClickHouse server\n  ## example: username = "default"\n  username = "default"\n\n  ## Password for authorization on ClickHouse server\n  ## example: password = "super_secret"\n\n  ## HTTP(s) timeout while getting metrics values\n  ## The timeout includes connection time, any redirects, and reading the response body.\n  ##   example: timeout = 1s\n  # timeout = 5s\n\n  ## List of servers for metrics scraping\n  ## metrics scrape via HTTP(s) clickhouse interface\n  ## https://clickhouse.tech/docs/en/interfaces/http/\n  ##    example: servers = ["http://127.0.0.1:8123","https://custom-server.mdb.yandexcloud.net"]\n  servers         = ["http://127.0.0.1:8123"]\n\n  ## If "auto_discovery"" is "true" plugin tries to connect to all servers available in the cluster\n  ## with using same "user:password" described in "user" and "password" parameters\n  ## and get this server hostname list from "system.clusters" table\n  ## see\n  ## - https://clickhouse.tech/docs/en/operations/system_tables/#system-clusters\n  ## - https://clickhouse.tech/docs/en/operations/server_settings/settings/#server_settings_remote_servers\n  ## - https://clickhouse.tech/docs/en/operations/table_engines/distributed/\n  ## - https://clickhouse.tech/docs/en/operations/table_engines/replication/#creating-replicated-tables\n  ##    example: auto_discovery = false\n  # auto_discovery = true\n\n  ## Filter cluster names in "system.clusters" when "auto_discovery" is "true"\n  ## when this filter present then "WHERE cluster IN (...)" filter will apply\n  ## please use only full cluster names here, regexp and glob filters is not allowed\n  ## for "/etc/clickhouse-server/config.d/remote.xml"\n  ## <yandex>\n  ##  <remote_servers>\n  ##    <my-own-cluster>\n  ##        <shard>\n  ##          <replica><host>clickhouse-ru-1.local</host><port>9000</port></replica>\n  ##          <replica><host>clickhouse-ru-2.local</host><port>9000</port></replica>\n  ##        </shard>\n  ##        <shard>\n  ##          <replica><host>clickhouse-eu-1.local</host><port>9000</port></replica>\n  ##          <replica><host>clickhouse-eu-2.local</host><port>9000</port></replica>\n  ##        </shard>\n  ##    </my-onw-cluster>\n  ##  </remote_servers>\n  ##\n  ## </yandex>\n  ##\n  ## example: cluster_include = ["my-own-cluster"]\n  # cluster_include = []\n\n  ## Filter cluster names in "system.clusters" when "auto_discovery" is "true"\n  ## when this filter present then "WHERE cluster NOT IN (...)" filter will apply\n  ##    example: cluster_exclude = ["my-internal-not-discovered-cluster"]\n  # cluster_exclude = []\n\n  ## Optional TLS Config\n  # tls_ca = "/etc/telegraf/ca.pem"\n  # tls_cert = "/etc/telegraf/cert.pem"\n  # tls_key = "/etc/telegraf/key.pem"\n  ## Use TLS but skip chain & host verification\n  # insecure_skip_verify = false\n'}}]);