How to create Grafana Dashboards-as-Code(Influx db as source)

What do you mean by “the queries are not updating(Creating) in the graph”? Are they not updating, or are they not being created?

Grafana has an HTTP API for Dashboards, which is what I assume the Weaveworks Grafanalib library is using. Grafana also provides a JavaScript example for scripting dashboards.

It’s possible that this is a problem with Grafana or the API, or a bug in the grafanalib library, or with your implementation. It’s hard to say without more information.