correct, the prometheus output will expose all metrics in the prometheus format, configuration looks like this:
[[outputs.prometheus]] ## Address to listen on listen = ":9126" and then http://localhost:9126/metrics looks like this while running: # HELP cpu_usage_idle Telegraf collected metric # TYPE cpu_usage_idle untyped cpu_usage_idle{cpu="cpu-total",host="tyrion"} 93.19489617212909 # HELP cpu_usage_system Telegraf collected metric # TYPE cpu_usage_system untyped cpu_usage_system{cpu="cpu-total",host="tyrion"} 5.128846634976232 ... I would like to eventually have a generic http output that could output in influx line-protocol, json, graphite, etc. On Sat, Jul 16, 2016 at 7:06 AM, Paul Dix <[email protected]> wrote: > I believe you can actually do this via the Prometheus Client part of > Telegraf. If enabled, it will expose a Prometheus style endpoint that > exposes all metrics. I assume it's like an exporter: > https://prometheus.io/docs/instrumenting/writing_exporters/ > > Cameron, is that correct? > > Thanks, > Paul > -- *Cameron Sparr* Software Developer ▼▴ *InfluxData.com <http://influxdata.com/>* Twitter <http://www.twitter.com/cameronsparr> / LinkedIn <https://www.linkedin.com/in/cameron-sparr-a015aa47> / GitHub <https://github.com/sparrc> -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAKOa%3DgUkgJO7RYj-0L3Ya5kY9weoB6vP6Ek-3Go4Ua7iG%2BPdwA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
