Skip to content

Commit

Permalink
chore: clickhousesystemtablesreceiver: add comment about cluster para…
Browse files Browse the repository at this point in the history
…m in scrape config to Readme… (#327)

* chore: clickhousesystemtablesreceiver: add comment about cluster param in scrape config to Readme

* Update README.md
  • Loading branch information
raj-k-singh authored Jun 3, 2024
1 parent 2efa29c commit 89cc0e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion receiver/clickhousesystemtablesreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ receivers:
clickhousesystemtablesreceiver:
# required
dsn: tcp://clickhouse:9000/

# optional. Should be set to name of the cluster when scraping query logs from a clustered Clickhouse deployment
cluster_name: "cluster-name"

query_log_scrape_config:
scrape_interval_seconds: 20
# required. min_scrape_delay_seconds must be set to a duration larger
# than flush_interval_milliseconds settings for query_log
# For details, see https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#query-log
min_scrape_delay_seconds: 8
```
```

0 comments on commit 89cc0e5

Please sign in to comment.