# Choose metric in panel - Simple json

**URL:** <https://community.grafana.com/t/choose-metric-in-panel-simple-json/3028>\
**Category:** Grafana\
**Created:** [October 4, 2017, 8:02am UTC](https://community.grafana.com/t/choose-metric-in-panel-simple-json/3028 "2017-10-04T08:02:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sigmaorebro](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@sigmaorebro](https://community.grafana.com/u/sigmaorebro)\
**Post date:** [October 4, 2017, 8:02am UTC](https://community.grafana.com/t/choose-metric-in-panel-simple-json/3028/1 "2017-10-04T08:02:12Z")

</div>

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: [SimpleJson plugin for Grafana | Grafana Labs](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:

 ![image](https://us1.discourse-cdn.com/grafana/original/2X/0/024049fcd590855898455837a87e2c1c9a6f63cb.png)  
And no matter what I write in the “select metric”-field, nothing happens.

What am I missing?  
Thanks in advanced! 🙂

---

<div class="post-metadata">

**Author:** ![bergquist](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/bergquist/32/1453_2.png) [@bergquist](https://community.grafana.com/u/bergquist)\
**Post date:** [October 4, 2017, 8:25am UTC](https://community.grafana.com/t/choose-metric-in-panel-simple-json/3028/2 "2017-10-04T08:25:17Z")

</div>

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](https://us1.discourse-cdn.com/grafana/original/2X/4/493ff234245743a0e647ceea62ae259404f8b258.png)

---

<div class="post-metadata">

**Author:** ![sigmaorebro](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@sigmaorebro](https://community.grafana.com/u/sigmaorebro)\
**Post date:** [October 4, 2017, 11:46am UTC](https://community.grafana.com/t/choose-metric-in-panel-simple-json/3028/3 "2017-10-04T11:46:45Z")

</div>

Haha, indeed it does! Örebro hälsar! 😉

Oh, okay, will change that!  
Thanks! 🙂
