-
-
Notifications
You must be signed in to change notification settings - Fork 69
ClickHouse Metrics
Lorenzo Mangani edited this page Jan 13, 2021
·
28 revisions
cLoki provides a simplified query model for querying any data in clickhouse to generate metrics and tags dynamically.
parameter | description |
---|---|
db | clickhouse database name |
table | clickhouse table name |
tag | column(s) for tags, comma separated |
metric | function for metric values |
where | where condition (optional) |
interval | interval in seconds (optional) |
clickhouse({ db="my_database", table="my_table", tag="source_ip", metric="avg(mos)", where="mos > 0", interval="60" })