Skip to content

narqo/test-clickhouse-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

test-clickhouse-prometheus

Test Prometheus remote-write/-read interface in ClickHouse.

This ClickHouse support relies on the experimental TimeSeries engine. Refer to the docs for details.

Run

% docker compose up

Execute a test query through Prometheus (the UI is runnin on http://127.0.0.1:9090)

% curl -v 'http://127.0.0.1:9090/api/v1/query?query=sum(ClickHouseAsyncMetrics_DiskUsed_default)'

Inspect the data with clickhouse-client

% docker container run --rm -ti --network test-clickhouse-prometheus_default --entrypoint=clickhouse clickhouse/clickhouse-server:head client -h clickhouse-server

d72188fcebe0 :) show tables
...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published