smcquay / jsonds

Grafana JSON Datasource implementation
MIT License
41 stars 16 forks source link

All requests return simple "ok" instead of fake data sets #1

Open Carmageddon opened 7 years ago

Carmageddon commented 7 years ago

I am trying to figure out why my Simple JSON Datasource plugin, is not getting anything from this json generator.

According to this: https://github.com/grafana/simple-json-datasource#simple-json-datasource---a-generic-backend-datasource There is a list of several entry points, I tried to mock them using Postman and send a POST request with the sample body - but I am only getting an "ok" back.

Why? What am I doing wrong?

I am trying to use this as a POC.

smcquay commented 6 years ago

Sorry for the delay!

Can you please give me an example of how you're posting the data?

sgoodliff commented 6 years ago

Hi,

Same here, looks like only the /query endpoint isn't implemented.

smcquay commented 6 years ago

Ah, yes, that's true. I'm happy to merge in any pull requests that could yield fake data on those endpoints, as examples.

Please let m know @Carmageddon or @sgoodliff

MarkoBursic commented 4 years ago

Same here. It always responds with OK.

smcquay commented 4 years ago

Still willing to merge PRs.