wevanscfi / grafana-newrelic-apm-datasource

MIT License
54 stars 16 forks source link

Cannot extract data from servers #27

Open willd opened 7 years ago

willd commented 7 years ago

I have created a working api query: curl -X GET 'https://api.newrelic.com/v2/applications/*appid*/hosts/*hostid*/metrics/data.json' \ -H 'X-Api-Key:apikey' -i \ -G -d 'names[]=Apdex&values[]=score', which gives me data like this: https://gist.github.com/willd/b61792a042379114194386bdbcc0c734

When trying to add that as a server in Grafana using your plugin, I create a new row, choose server, enter the host id, metric Apdex and value score. After that it seems to fetch data forever, while not giving me any data points.

Am I doing something wrong? EDIT: Realized that this plugin isn't capable of fetching hosts just yet. I guess this is a feature request then? :)