and it tells me my request is bad with a 400 error. I have my request going through a NodeJs Express proxy listening on port 8000 that forwards it to my local Grafana server running on port 8080. The middleware the handles this is below,
The problem, I think, is I may have some properties in my grafana ini file incorrect. Right now, I have the following properties in my grafana ini file,
Interestingly, if I change the host port from 8000 to 8080 (where Grafana is running), I get the data returned, even though it’s not going through the proxy and getting the API key attached to it,
Update: I enabled query logging and when I get to the point where the iframe issues the POST request to api/tsdb/query endpoint, I got the following output:
It doesn’t seem like it’s finding my panels when it’s coming from the proxy? I didn’t configure my local database at all, the one where Grafana stores panels and whatnot. Does that need to be configured before use?