squaresilikon.blogg.se

Grafana json query
Grafana json query













grafana json query grafana json query

Following is an example of panel JSON of a text panel. Most of the fields are common for all panels but some fields depend on the panel type. Panel JSON consists of an array of JSON objects, each representing a different panel. It consists of data source queries, type of graphs, aliases, etc. Panels are the building blocks of a dashboard. Version of the dashboard (integer), incremented each time the dashboard is updated

Grafana json query update#

Version of the JSON schema (integer), incremented each time a Grafana update brings changes to said schema Templating metadata, see templating section for detailsĪnnotations metadata, see annotations section for details Timepicker metadata, see timepicker section for details utc or browserĠ for no shared crosshair or tooltip (default), 1 for shared crosshair, 2 for shared crosshair AND shared tooltip Tags associated with dashboard, an array of strings Unique dashboard identifier that can be generated by anyone. Unique numeric identifier for the dashboard. Once a dashboard is saved, an integer value is assigned to the id field.Įach field in the dashboard JSON is explained below with its usage: Name Note: In the following JSON, id is shown as null which is the default value assigned to it until a dashboard is saved. When a user creates a new dashboard, a new dashboard JSON object is initialized with the following fields: In the top navigation menu, click the Dashboard settings (gear) icon.Dashboard metadata includes dashboard properties, metadata from panels, template variables, panel queries, etc. A dashboard in Grafana is represented by a JSON object, which stores metadata of its dashboard.















Grafana json query