Choose metric in panel - Simple json

Hi!
I’ve built a webservice that handles my data and sends a repost to Grafana in json.
The Response looks as follows:
[
{
“datapoints”: [
[
“29.7°c”,
1507000081000
],
[
“29.7°c”,
1507000081000
],
[
“29.4°c”,
1507007217000
],
[
“33.4°c”,
1505804976000
]
],
“target”: 145931
}
]
And that is created based on what I could read here: https://grafana.com/plugins/grafana-simple-json-datasource regarding the /query reponse. I’ve added the data source without troubles and without errors, however, I’m not able to add a metric to my graph, The fields looks as follow:


And no matter what I write in the “select metric”-field, nothing happens.

What am I missing?
Thanks in advanced! :slight_smile:

Silly question does sigmaorebro mean “Sigma Örebro”? If so high five since Örebro is my hometown!

Anyway… You are returning strings in the json but Grafana expects javascript numbers(int/float). Once you changed the service to return numbers you can configure the axis in the graph panel to display Celsius.

image

Haha, indeed it does! Örebro hälsar! :wink:

Oh, okay, will change that!
Thanks! :slight_smile: