How to build a JSON response for timeseries graph from Flask REST API

Hello,

I’m using a JSON API datasource plugin to query a REST API to populate some metrics.
I’m not able to structure the JSON response for the timeseries graph plugin.

Can I get some help with this?

  • What Grafana version and what operating system are you using?
    Grafana v7.5.7 (91de51771c) & Ubuntu 18.04

  • What are you trying to achieve?
    Generate timeseries graph using JSON response data obtained from REST API
    Need help in structuring the JSON response to generate the timeseries graph.

  • How are you trying to achieve it?
    Using JSON API datasource plugin & querying my REST API endpoint to get data.

  • What happened?
    Graphs are not being populated.

  • What did you expect to happen?
    Graphs to be populated

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No errors found.

  • Did you follow any online instructions? If so, what is the URL?
    No instructions for this.

Hi rohith,

Maybe this plugin can help you.

Thanks Daniel!
I was able to get time series to work. But with regards, to pie charts I’ve not had any luck.

This topic was automatically closed after 365 days. New replies are no longer allowed.