graphite-clickhouse
graphite-clickhouse copied to clipboard
Make option to send internal metrics to carbon server
Make option to send internal metrics (requests, memory etc) to carbon server (like carbonapi, go-carbon and carbon-clickhouse does).
graphite-clickhouse doesn't have metrics. This is only in todo
Hey. I'd like to implement it, so the suggestions on what metrics are necessary to implement are very appreciated!
Here's an idea to implement:
- [ ] Counters (increasing metrics)
- [ ] Requests to service
- [ ] Metrics requested from upstream
- [ ] Bytes received from ClickHouse
- [ ] Metrics --/--
- [ ] Points --/--
- [ ] Bytes sent to upstream
- [ ] Metrics --/--
- [ ] Points --/--
- [ ] Gauges
- [ ] Quantiles of ClickHouse latencies on requests / interval
- [ ] Quantiles of GCH latencies on requests / interval
- [ ]
runtime.memstat
Config template:
[carbon]
server = 'localhost:2003'
send-interval = '1m'
prefix = 'graphite-clickhouse'
quantiles = [0.5, 0.9, 0.99, 0.999, 1]
First iteration of metrics in https://github.com/go-graphite/graphite-clickhouse/pull/194
First iteration for gch metrics is done in current master. For me is done, i completely remove logstash for collect metrics from logs. If more metrics is needed, you can reopen a issue.