Is it possible to define a custom sink for Prometheus? Such a feature is offered by Heapster, and I wonder if one can, for example, write collected time series data by Prometheus to stdout.
Asked
Active
Viewed 394 times
1 Answers
1
The remote write path allows for this, see https://www.robustperception.io/using-the-remote-write-path/ for an example.

brian-brazil
- 31,678
- 6
- 93
- 86
-
Thanks for your prompt response. Is it possible to export the data as a json object, for example? – Eissa N. Apr 25 '17 at 16:00
-
The remote read API is the only API offered for this, you can write an adapter that converts that output to JSON. – brian-brazil Apr 25 '17 at 20:19