Closed LucBerge closed 6 months ago
Hi, @LucBerge Thanks for question. To solve the cors problem, there are 2 possible options: 1) If you have access to the server, you can allow cors 2) you can use MongoDB data source and use MongoDB data source under 'Initial Request' -> 'Data source' or 'Update Request' -> 'Data source' The payload configuration for 'Update Request' is done in the 'Update Request Payload' section
Hello, I am using the MongoDB data source to read data from my mongoDB. I have installed the "Data Manipulation" plugin to be able to update my documents in the database.
I have configured the form to send a POST request to the following endpoint https://eu-west-2.aws.data.mongodb-api.com/app/data-knsvx/endpoint/update
The endpoint is working as expected because I am able to perform a POST request from my PC but it is not working from the Grafana.
I have the following error:
Grafana is by default blocking request to unknown urls. Regarding the official documentation, I should be able to update the Content-Security-Policy to allow the traffic. The problem is that I am using an Azure Managed Grafana and it is currently not possible to update this setting.
find
andaggregate
methods are available)