prometheus / pushgateway

Push acceptor for ephemeral and batch jobs.
Apache License 2.0
2.97k stars 461 forks source link

Support line protocol for influxdb #666

Closed mehrdad2000 closed 1 month ago

mehrdad2000 commented 1 month ago

Hi Is it possible to add influxdb format for output? like this

current output go_gc_duration_seconds{quantile="0"} 0.000208915

Line protocol format: measurement,tag1=value1,tag2=value2 field1=value3,field2=value4 timestamp

Expected output go_gc_duration_seconds,quantile="0" value=0.000208915 1625487910

More detail: https://docs.influxdata.com/influxdb/v2/reference/syntax/line-protocol/

Thanks

beorn7 commented 1 month ago

There should be tools somewhere that scrape a Prometheus endpoint and convert it into Influx line protocol.

There are no plans to support any exposition formats in the PGW beyond Prometheus and OpenMetrics.