graphite-clickhouse icon indicating copy to clipboard operation
graphite-clickhouse copied to clipboard

Make option to send internal metrics to carbon server

Open Nyoroon opened this issue 6 years ago • 2 comments

Make option to send internal metrics (requests, memory etc) to carbon server (like carbonapi, go-carbon and carbon-clickhouse does).

Nyoroon avatar Aug 09 '17 08:08 Nyoroon

graphite-clickhouse doesn't have metrics. This is only in todo

lomik avatar Aug 09 '17 08:08 lomik

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]

Felixoid avatar Oct 14 '20 11:10 Felixoid

First iteration of metrics in https://github.com/go-graphite/graphite-clickhouse/pull/194

msaf1980 avatar Oct 20 '22 09:10 msaf1980

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.

msaf1980 avatar Nov 08 '22 10:11 msaf1980