VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

Question: Http POST very slow, take too much time #377

Closed uid01089 closed 8 months ago

uid01089 commented 8 months ago

Starting a bash on the GRAFANA container and running something like

curl -X POST http://10.10.10.10:8099/api/store -H 'Content-Type: application/json' -d '{"topic":"ttttest", "value":"test"}'

works as expected. Let it POST out from Grafana GUI fired by a button, it tooks up to 10s. I do not find the reasons, what might cause that a high delay.

Did someone also faced this issue and how this issue can be improved.

Thanks a lot in advance.

mikhail-vl commented 8 months ago

@uid01089 Are you running curl from your laptop/pc, the one you are using to connect to Grafana?

Data Manipulation form execute POST request from the browser, which may cause delay compare to the host you are running the command.