cloudflare / opentsdb_exporter

Prometheus exporter for OpenTSDB
Apache License 2.0
24 stars 14 forks source link

How to add metrics in the '/metrics' url #10

Open deadjoker opened 5 years ago

deadjoker commented 5 years ago

I follow the steps and start the exporter with './opentsdb_exporter'. But only go metrics list in the '/metrics' url How can I add opentsdb metrics in the '/metrics' url?

ZLhhs commented 4 years ago

The same with me, Only Go metrics in list Anyone know how can I get the TSDB metrics?

ZLhhs commented 4 years ago

The same with me, Only Go metrics in list Anyone know how can I get the TSDB metrics?

I know how to get metrics for TSDB by TSDB-exporter now: The URL must be : TSDB_Exporter_IP:9250/opentsdb?target=http://TSDB_IP:4242

the Config is : ##############################

Prometheus will pull metrics with http://TSDB_Exporter_IP:9250/opentsdb?target=http://TSDB_IP:4242 for every TSDB instance.