Automatic snapshot generation / problem with missing and embedding data

I am trying to create an automatic snapshot using the http api. I have done several steps. First I made a copy of the desktop json, I removed the uid and used the json as described in the http api section on the grafana website. I thought it was woring with the following command:

curl -XPOST ‘http://grafana.staged-by-discourse.com/api/snapshots’ -H ‘Authorization: Bearer xxxxxx’ -H ‘Accept: application/json’ -H ‘Content-Type: application/json’ -d ‘{very-long-json}

But I have problems, I think for one, with timeout, because some panals’ data aren’t contained in the snapshot. Interactively I can set the value of timeout, and the problem disappears. How can I set the value for timeout using the snapshot http api? Or could it be something else?

The other problem is that the data aren’t embedded in the snapshot. Unlike the interactive snapshot, the variables are still active when I do it with the API. What did I do wrong?

See Save snapshot to grafana database and related links.

Marcus

Thanks for the link. The workarounds look pretty complicated. Will there been any progress on this in the next versions?

Looking at the roadmap. Right now we don’t have any plans for supporting this.

Marcus