Update readme and changelog
This commit is contained in:
parent
e4caa347a2
commit
bffd57aa58
|
@ -11,10 +11,11 @@
|
||||||
|
|
||||||
#### New Inputs
|
#### New Inputs
|
||||||
|
|
||||||
|
- [clickhouse](/plugins/inputs/clickhouse/README.md) - Contributed by @kshvakov
|
||||||
|
- [execd](/plugins/inputs/execd/README.md) - Contributed by @jgraichen
|
||||||
- [infiniband](/plugins/inputs/infiniband/README.md) - Contributed by @willfurnell
|
- [infiniband](/plugins/inputs/infiniband/README.md) - Contributed by @willfurnell
|
||||||
- [modbus](/plugins/inputs/modbus/README.md) - Contributed by @garciaolais
|
- [modbus](/plugins/inputs/modbus/README.md) - Contributed by @garciaolais
|
||||||
- [monit](/plugins/inputs/monit/README.md) - Contributed by @SirishaGopigiri
|
- [monit](/plugins/inputs/monit/README.md) - Contributed by @SirishaGopigiri
|
||||||
- [execd](/plugins/inputs/execd/README.md) - Contributed by @jgraichen
|
|
||||||
|
|
||||||
#### New Processors
|
#### New Processors
|
||||||
|
|
||||||
|
|
|
@ -165,6 +165,7 @@ For documentation on the latest development code see the [documentation index][d
|
||||||
* [chrony](./plugins/inputs/chrony)
|
* [chrony](./plugins/inputs/chrony)
|
||||||
* [cisco_telemetry_gnmi](./plugins/inputs/cisco_telemetry_gnmi)
|
* [cisco_telemetry_gnmi](./plugins/inputs/cisco_telemetry_gnmi)
|
||||||
* [cisco_telemetry_mdt](./plugins/inputs/cisco_telemetry_mdt)
|
* [cisco_telemetry_mdt](./plugins/inputs/cisco_telemetry_mdt)
|
||||||
|
* [clickhouse](./plugins/inputs/clickhouse)
|
||||||
* [cloud_pubsub](./plugins/inputs/cloud_pubsub) Google Cloud Pub/Sub
|
* [cloud_pubsub](./plugins/inputs/cloud_pubsub) Google Cloud Pub/Sub
|
||||||
* [cloud_pubsub_push](./plugins/inputs/cloud_pubsub_push) Google Cloud Pub/Sub push endpoint
|
* [cloud_pubsub_push](./plugins/inputs/cloud_pubsub_push) Google Cloud Pub/Sub push endpoint
|
||||||
* [conntrack](./plugins/inputs/conntrack)
|
* [conntrack](./plugins/inputs/conntrack)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Telegraf Input Plugin: ClickHouse
|
# ClickHouse Input Plugin
|
||||||
|
|
||||||
This plugin gathers the statistic data from [ClickHouse](https://github.com/ClickHouse/ClickHouse) server.
|
This plugin gathers the statistic data from [ClickHouse](https://github.com/ClickHouse/ClickHouse) server.
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
```ini
|
```toml
|
||||||
# Read metrics from one or many ClickHouse servers
|
# Read metrics from one or many ClickHouse servers
|
||||||
[[inputs.clickhouse]]
|
[[inputs.clickhouse]]
|
||||||
## Username for authorization on ClickHouse server
|
## Username for authorization on ClickHouse server
|
||||||
|
@ -71,22 +71,23 @@ This plugin gathers the statistic data from [ClickHouse](https://github.com/Clic
|
||||||
# insecure_skip_verify = false
|
# insecure_skip_verify = false
|
||||||
```
|
```
|
||||||
|
|
||||||
### Metrics:
|
### Metrics
|
||||||
|
|
||||||
- clickhouse_events
|
- clickhouse_events
|
||||||
- tags:
|
- tags:
|
||||||
- hostname (ClickHouse server hostname)
|
- hostname (ClickHouse server hostname)
|
||||||
- cluster (Name of the cluster [optional])
|
- cluster (Name of the cluster [optional])
|
||||||
- shard_num (Shard number in the cluster [optional])
|
- shard_num (Shard number in the cluster [optional])
|
||||||
- fields:
|
- fields:
|
||||||
- all rows from system.events, all metrics is COUNTER type, look https://clickhouse.tech/docs/en/operations/system_tables/#system_tables-events
|
- all rows from [system.events][]
|
||||||
|
|
||||||
- clickhouse_metrics
|
+ clickhouse_metrics
|
||||||
- tags:
|
- tags:
|
||||||
- hostname (ClickHouse server hostname)
|
- hostname (ClickHouse server hostname)
|
||||||
- cluster (Name of the cluster [optional])
|
- cluster (Name of the cluster [optional])
|
||||||
- shard_num (Shard number in the cluster [optional])
|
- shard_num (Shard number in the cluster [optional])
|
||||||
- fields:
|
- fields:
|
||||||
- all rows from system.metrics, all metrics is GAUGE type, look https://clickhouse.tech/docs/en/operations/system_tables/#system_tables-metrics
|
- all rows from [system.metrics][]
|
||||||
|
|
||||||
- clickhouse_asynchronous_metrics
|
- clickhouse_asynchronous_metrics
|
||||||
- tags:
|
- tags:
|
||||||
|
@ -94,9 +95,9 @@ This plugin gathers the statistic data from [ClickHouse](https://github.com/Clic
|
||||||
- cluster (Name of the cluster [optional])
|
- cluster (Name of the cluster [optional])
|
||||||
- shard_num (Shard number in the cluster [optional])
|
- shard_num (Shard number in the cluster [optional])
|
||||||
- fields:
|
- fields:
|
||||||
- all rows from system.asynchronous_metrics, all metrics is GAUGE type, look https://clickhouse.tech/docs/en/operations/system_tables/#system_tables-asynchronous_metrics
|
- all rows from [system.asynchronous_metrics][]
|
||||||
|
|
||||||
- clickhouse_tables
|
+ clickhouse_tables
|
||||||
- tags:
|
- tags:
|
||||||
- hostname (ClickHouse server hostname)
|
- hostname (ClickHouse server hostname)
|
||||||
- table
|
- table
|
||||||
|
@ -117,3 +118,7 @@ clickhouse_metrics,cluster=test_cluster_two_shards_localhost,host=kshvakov,hostn
|
||||||
clickhouse_tables,cluster=test_cluster_two_shards_localhost,database=system,host=kshvakov,hostname=localhost,shard_num=1,table=trace_log bytes=754i,parts=1i,rows=1i 1569421000000000000
|
clickhouse_tables,cluster=test_cluster_two_shards_localhost,database=system,host=kshvakov,hostname=localhost,shard_num=1,table=trace_log bytes=754i,parts=1i,rows=1i 1569421000000000000
|
||||||
clickhouse_tables,cluster=test_cluster_two_shards_localhost,database=default,host=kshvakov,hostname=localhost,shard_num=1,table=example bytes=326i,parts=2i,rows=2i 1569421000000000000
|
clickhouse_tables,cluster=test_cluster_two_shards_localhost,database=default,host=kshvakov,hostname=localhost,shard_num=1,table=example bytes=326i,parts=2i,rows=2i 1569421000000000000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[system.events]: https://clickhouse.tech/docs/en/operations/system_tables/#system_tables-events
|
||||||
|
[system.metrics]: https://clickhouse.tech/docs/en/operations/system_tables/#system_tables-metrics
|
||||||
|
[system.asynchronous_metrics]: https://clickhouse.tech/docs/en/operations/system_tables/#system_tables-asynchronous_metrics
|
||||||
|
|
Loading…
Reference in New Issue