Is your feature request related to a problem? Please describe.
As we already have an /export API that returns the requested data from Prometheus as a CSV file, we need to support additional formats such as YAML, JSON and NDJSON.
Describe the solution you'd like
The API must take HTTP query parameters like ?format=csv|yaml|yml|json default should be csv
Is your feature request related to a problem? Please describe. As we already have an /export API that returns the requested data from Prometheus as a CSV file, we need to support additional formats such as YAML, JSON and NDJSON.
Describe the solution you'd like The API must take HTTP query parameters like
?format=csv|yaml|yml|json
default should becsv
Describe alternatives you've considered N/A
Additional context N/A