Closed michaelfward closed 4 years ago
Seems to work in my env.
I did test by querying _index=sumologic_volume
.
Would you provide more information?
Hi @mtanda thanks for the quick reply!
I did more investigation. When querying, the plugin does not fetch / page the results, it immediately calls the DELETE method.
These are screenshots from an affected version:
This is correct behavior (note the POST
to create the job, GET
to fetch results, DELETE
to delete):
I believe this is related to https://github.com/grafana/grafana/releases/tag/v6.7.0-beta1
I just confirmed the change was introduced in 6.70
release of Grafan. Pulling the first image before 6.6.2
does not have the issue.
Thanks for info. I didn't check how backendSrv change affect my plugin. Need to investigate it. I can't promise but I'll take a time.
No problem. I haven't written Angular code in a very long time but I'm going to spend my day today trying to see if I can figure this out.
Interesting:
I did grafana-toolkit plugin:dev
and it worked, no code change necessary.
hmm, Prometheus datasource seems to call same API. https://github.com/grafana/grafana/blob/v7.0.5/public/app/plugins/datasource/prometheus/datasource.ts#L156
I should check rxjs too.
I did quick investigation, and I can't find way to call digest...
@michaelfward Did you get any error message in Dev tools?
I use plugin with 7.0.6. It works.
Hi,
I am seeing 202 when creating the job, and then a
DELETE
request without ever getting any data.I'm using
grafana-server v7.0.5