Example Finished JSON Template - absalon-james/grafanizer GitHub Wiki

{
  "type": "SingleEntity",
  "tags": [],
  "user": "guest",
  "group": "guest",
  "dashboard": {
    "id": "cpu-idle-percent-dashboard-${entity_label}",
    "title": "CPU Idle Percent Dashboard - ${entity_label}",
    "originalTitle": "CPU Idle Percent Dashboard - ${entity_label}",
    "tags": [],
    "style": "dark",
    "timezone": "browser",
    "editable": true,
    "hideControls": false,
    "rows": [
      {
        "title": "Row1",
        "height": "250px",
        "editable": true,
        "collapse": false,
        "panels": [
          {
            "error": false,
            "span": 12,
            "editable": true,
            "type": "graph",
            "id": 1,
            "datasource": null,
            "renderer": "flot",
            "x-axis": true,
            "y-axis": true,
            "scale": 1,
            "y_formats": [
              "short",
              "short"
            ],
            "grid": {
              "leftMax": null,
              "rightMax": null,
              "leftMin": null,
              "rightMin": null,
              "threshold1": null,
              "threshold2": null,
              "threshold1Color": "rgba(216, 200, 27, 0.27)",
              "threshold2Color": "rgba(234, 112, 112, 0.22)"
            },
            "annotate": {
              "enable": false
            },
            "resolution": 100,
            "lines": true,
            "fill": 0,
            "linewidth": 1,
            "points": false,
            "pointradius": 5,
            "bars": false,
            "stack": false,
            "legend": {
              "show": true,
              "values": false,
              "min": false,
              "max": false,
              "current": false,
              "total": false,
              "avg": false
            },
            "percentage": false,
            "zerofill": true,
            "nullPointMode": "connected",
            "steppedLine": false,
            "tooltip": {
              "value_type": "cumulative",
              "query_as_alias": true
            },
            "metrics": [
              {
                "type": "simple",
                "query": "entity().check(label:startswith(cpu)).metric(name:full(idle_percent_average))",
                "target": "rackspace.monitoring.entities.${entity_id}.checks.agent.cpu.${check_id}.${metric_name}"
              }
            ],
            "aliasColors": {},
            "seriesOverrides": [],
            "title": "CPU idle percent graph"
          }
        ]
      }
    ],
    "nav": [
      {
        "type": "timepicker",
        "enable": true,
        "status": "Stable",
        "time_options": [
          "5m",
          "15m",
          "1h",
          "6h",
          "12h",
          "24h",
          "2d",
          "7d",
          "30d"
        ],
        "refresh_intervals": [
          "5s",
          "10s",
          "30s",
          "1m",
          "5m",
          "15m",
          "30m",
          "1h",
          "2h",
          "1d"
        ],
        "now": true,
        "collapse": false,
        "notice": false
      }
    ],
    "time": {
      "from": "now-6h",
      "to": "now"
    },
    "templating": {
      "list": []
    },
    "annotations": {
      "list": [],
      "enable": false
    },
    "refresh": false,
    "version": 6
  }
}