4 ms·
IMO the most straightforward solution would be to something like: a) add these 'metric counters' in a little more friendly way than mess with ClickHouse itself
by justsomehnguy 4y ago
IMO the most straightforward solution would be to something like:
a) add these 'metric counters' in a little more friendly way than mess with ClickHouse itself (maybe a directory with *.sql to be loaded on the start/file change?)
b) a way to publish them in JSON through the webserver
After that I can just poll the endpoint with a script and do whatever I need with that info.
AFAIR ClickHouse has a built-in REST-like interface, which can be used for that but that means the need to expose ClickHouse itself.