prometheusstatsd

Are there any existing programs for scraping Prometheus-formatted metrics and sending them to StatsD?


I have an application that exposes metrics in the Prometheus format at an HTTP endpoint but want to run it in an environment that uses StatsD. Prometheus provides a program that accepts StatsD metrics and exports them to Prometheus, but I can't seem to find a program to do the reverse. I understand that all metric types might not map cleanly, but are there any such programs out there or libraries that do some of the work for you?


Solution

  • I'm not aware of any such tool, however several Prometheus clients have a parser for the Prometheus text format such as Python and that could be then munged and sent on to statsd.