Dashboard Import refId



Grafana v4.3.1, data source prometheus

I am working on some automation to help import dashboards across our many grafana instances (per environment, etc). I am having problems with the JSON import and was looking for more information on “reqId” which is an attribute of “targets” array of hashes. Typical values are “A”…“Z”. Is this field required for an import? What are valid values?



The values should be A-Z and is like an ID for the query that other parts of the panel can refer to (and other targets), for example alert rules can refer to a query by the refId.

Yes this is required.