Grafana dashboard: Lighthouse (sitespeed.io) reports
Description:  Display Lighthouse reports provided by sitespeed.io/graphite


{
  "__inputs": [
    {
      "name": "DS_GRAPHITE",
      "label": "Graphite",
      "description": "",
      "type": "datasource",
      "pluginId": "graphite",
      "pluginName": "Graphite"
    },
    {
      "name": "VAR_BASE",
      "type": "constant",
      "label": "sitespeed_io",
      "value": "sitespeed_io",
      "description": "Where Grafana expects the data to be read"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.1.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "graphite",
      "name": "Graphite",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 17083,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1559554546325,
  "links": [],
  "panels": [
    {
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 13,
      "title": "Lighthouse score",
      "type": "row"
    },
    {
      "datasource": "${DS_GRAPHITE}",
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "id": 4,
      "links": [],
      "options": {
        "maxValue": 100,
        "minValue": 0,
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "thresholds": [
          {
            "color": "semi-dark-red",
            "index": 0,
            "value": null
          },
          {
            "color": "#EAB839",
            "index": 1,
            "value": 40
          },
          {
            "color": "green",
            "index": 2,
            "value": 80
          }
        ],
        "valueMappings": [],
        "valueOptions": {
          "decimals": null,
          "prefix": "",
          "stat": "mean",
          "suffix": "",
          "unit": "none"
        }
      },
      "pluginVersion": "6.1.1",
      "repeat": null,
      "repeatDirection": "h",
      "targets": [
        {
          "refId": "A",
          "target": "scale($base.$path.pageSummary.$group.$page.lighthouse.categories.seo.*, 100)",
          "textEditor": true
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SEO",
      "type": "gauge"
    },
    {
      "datasource": "${DS_GRAPHITE}",
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "id": 8,
      "links": [],
      "options": {
        "maxValue": 100,
        "minValue": 0,
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "thresholds": [
          {
            "color": "semi-dark-red",
            "index": 0,
            "value": null
          },
          {
            "color": "#EAB839",
            "index": 1,
            "value": 40
          },
          {
            "color": "green",
            "index": 2,
            "value": 80
          }
        ],
        "valueMappings": [],
        "valueOptions": {
          "decimals": null,
          "prefix": "",
          "stat": "mean",
          "suffix": "",
          "unit": "none"
        }
      },
      "pluginVersion": "6.1.1",
      "repeatDirection": "h",
      "targets": [
        {
          "refId": "A",
          "target": "scale($base.$path.pageSummary.$group.$page.lighthouse.categories.performance.*, 100)",
          "textEditor": true
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Performance",
      "type": "gauge"
    },
    {
      "datasource": "${DS_GRAPHITE}",
      "gridPos": {
        "h": 4,
        "w": 8,
        "x": 0,
        "y": 6
      },
      "id": 6,
      "links": [],
      "options": {
        "maxValue": 100,
        "minValue": 0,
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "thresholds": [
          {
            "color": "semi-dark-red",
            "index": 0,
            "value": null
          },
          {
            "color": "#EAB839",
            "index": 1,
            "value": 40
          },
          {
            "color": "green",
            "index": 2,
            "value": 80
          }
        ],
        "valueMappings": [],
        "valueOptions": {
          "decimals": null,
          "prefix": "",
          "stat": "mean",
          "suffix": "",
          "unit": "none"
        }
      },
      "pluginVersion": "6.1.1",
      "repeatDirection": "h",
      "targets": [
        {
          "refId": "A",
          "target": "scale($base.$path.pageSummary.$group.$page.lighthouse.categories.best-practices.*, 100)",
          "textEditor": true
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Best Practices",
      "type": "gauge"
    },
    {
      "datasource": "${DS_GRAPHITE}",
      "gridPos": {
        "h": 4,
        "w": 9,
        "x": 8,
        "y": 6
      },
      "id": 7,
      "links": [],
      "options": {
        "maxValue": 100,
        "minValue": 0,
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "thresholds": [
          {
            "color": "semi-dark-red",
            "index": 0,
            "value": null
          },
          {
            "color": "#EAB839",
            "index": 1,
            "value": 40
          },
          {
            "color": "green",
            "index": 2,
            "value": 80
          }
        ],
        "valueMappings": [],
        "valueOptions": {
          "decimals": null,
          "prefix": "",
          "stat": "mean",
          "suffix": "",
          "unit": "none"
        }
      },
      "pluginVersion": "6.1.1",
      "repeatDirection": "h",
      "targets": [
        {
          "refId": "A",
          "target": "scale($base.$path.pageSummary.$group.$page.lighthouse.categories.accessibility.*, 100)",
          "textEditor": true
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Accessibility",
      "type": "gauge"
    },
    {
      "datasource": "${DS_GRAPHITE}",
      "gridPos": {
        "h": 4,
        "w": 7,
        "x": 17,
        "y": 6
      },
      "id": 9,
      "links": [],
      "options": {
        "maxValue": 100,
        "minValue": 0,
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "thresholds": [
          {
            "color": "semi-dark-red",
            "index": 0,
            "value": null
          },
          {
            "color": "#EAB839",
            "index": 1,
            "value": 40
          },
          {
            "color": "green",
            "index": 2,
            "value": 80
          }
        ],
        "valueMappings": [],
        "valueOptions": {
          "decimals": null,
          "prefix": "",
          "stat": "mean",
          "suffix": "",
          "unit": "none"
        }
      },
      "pluginVersion": "6.1.1",
      "repeatDirection": "h",
      "targets": [
        {
          "refId": "A",
          "target": "scale($base.$path.pageSummary.$group.$page.lighthouse.categories.pwa.*, 100)",
          "textEditor": true
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Progressive Web App",
      "type": "gauge"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 10
      },
      "id": 11,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_GRAPHITE}",
          "description": "Max. score is 100",
          "fill": 0,
          "gridPos": {
            "h": 10,
            "w": 24,
            "x": 0,
            "y": 11
          },
          "id": 2,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "hideZero": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "maxPerRow": 2,
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 2,
          "points": true,
          "renderer": "flot",
          "repeat": null,
          "repeatDirection": "v",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "hide": false,
              "refCount": 0,
              "refId": "A",
              "target": "aliasByNode(scale($base.$path.pageSummary.$group.$page.lighthouse.categories.*.score, 100), 7)",
              "textEditor": false
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Lighhouse scores evolution over time",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "title": "Lighthouse Evolution",
      "type": "row"
    }
  ],
  "schemaVersion": 18,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "value": "${VAR_BASE}",
          "text": "${VAR_BASE}"
        },
        "hide": 2,
        "label": "sitespeed_io",
        "name": "base",
        "options": [
          {
            "value": "${VAR_BASE}",
            "text": "${VAR_BASE}"
          }
        ],
        "query": "${VAR_BASE}",
        "skipUrlSync": false,
        "type": "constant"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_GRAPHITE}",
        "definition": "$base.*",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "path",
        "options": [],
        "query": "$base.*",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_GRAPHITE}",
        "definition": "$base.$path.pageSummary.*",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "group",
        "options": [],
        "query": "$base.$path.pageSummary.*",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_GRAPHITE}",
        "definition": "$base.$path.pageSummary.$group.*",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "page",
        "options": [],
        "query": "$base.$path.pageSummary.$group.*",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Lighthouse (sitespeed.io) reports",
  "uid": "S3sSmCWWk",
  "version": 33,
  "description": " Display Lighthouse reports provided by sitespeed.io/graphite"
}