You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Grafana.wikimedia.org/varnish-http-errors

From Wikitech-static
< Grafana.wikimedia.org
Revision as of 18:53, 22 September 2015 by imported>Krinkle (Backup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{
  "id": null,
  "title": "Varnish: HTTP Errors",
  "originalTitle": "Varnish: HTTP Errors",
  "tags": [
    "operations"
  ],
  "style": "light",
  "timezone": "utc",
  "editable": true,
  "hideControls": false,
  "sharedCrosshair": true,
  "rows": [
    {
      "title": "Rate of 4/5xx Responses",
      "height": "100px",
      "editable": true,
      "collapse": false,
      "panels": [
        {
          "id": 11,
          "span": 4,
          "type": "singlestat",
          "datasource": "graphite",
          "height": "",
          "links": [],
          "maxDataPoints": "",
          "interval": null,
          "targets": [
            {
              "target": "movingAverage(reqstats.500, 2)"
            }
          ],
          "cacheTimeout": null,
          "format": "short",
          "prefix": "HTTP 500",
          "postfix": "/min",
          "nullText": null,
          "valueMaps": [
            {
              "value": "null",
              "op": "=",
              "text": "N/A"
            }
          ],
          "nullPointMode": "connected",
          "valueName": "current",
          "prefixFontSize": "50%",
          "valueFontSize": "80%",
          "postfixFontSize": "50%",
          "thresholds": "0,100,300",
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "rgba(0, 0, 0, 0.88)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "sparkline": {
            "show": true,
            "full": true,
            "lineColor": "rgb(31, 120, 193)",
            "fillColor": "rgba(31, 118, 189, 0.18)"
          }
        },
        {
          "id": 12,
          "span": 4,
          "type": "singlestat",
          "datasource": "graphite",
          "height": "",
          "links": [],
          "maxDataPoints": "",
          "interval": null,
          "targets": [
            {
              "target": "movingAverage(reqstats.5xx, 2)"
            }
          ],
          "cacheTimeout": null,
          "format": "short",
          "prefix": "HTTP 5xx",
          "postfix": "/min",
          "nullText": null,
          "valueMaps": [
            {
              "value": "null",
              "op": "=",
              "text": "N/A"
            }
          ],
          "nullPointMode": "connected",
          "valueName": "current",
          "prefixFontSize": "50%",
          "valueFontSize": "80%",
          "postfixFontSize": "50%",
          "thresholds": "0,100,400",
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "rgba(0, 0, 0, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(172, 45, 45, 0.97)"
          ],
          "sparkline": {
            "show": true,
            "full": true,
            "lineColor": "rgb(31, 120, 193)",
            "fillColor": "rgba(31, 118, 189, 0.18)"
          }
        },
        {
          "id": 13,
          "span": 4,
          "type": "singlestat",
          "datasource": "graphite",
          "height": "",
          "links": [],
          "maxDataPoints": "",
          "interval": null,
          "targets": [
            {
              "target": "movingAverage(reqstats.4xx, 2)"
            }
          ],
          "cacheTimeout": null,
          "format": "short",
          "prefix": "HTTP 4xx",
          "postfix": "/min",
          "nullText": null,
          "valueMaps": [
            {
              "value": "null",
              "op": "=",
              "text": "N/A"
            }
          ],
          "nullPointMode": "connected",
          "valueName": "current",
          "prefixFontSize": "50%",
          "valueFontSize": "80%",
          "postfixFontSize": "50%",
          "thresholds": "0,35000,60000",
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "rgba(0, 0, 0, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "sparkline": {
            "show": true,
            "full": true,
            "lineColor": "rgb(31, 120, 193)",
            "fillColor": "rgba(31, 118, 189, 0.18)"
          }
        }
      ],
      "showTitle": true
    },
    {
      "title": "5xx/4xx graphs",
      "height": "350px",
      "collapse": false,
      "panels": [
        {
          "id": 7,
          "span": 12,
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "scale": 1,
          "y_formats": [
            "short",
            "short"
          ],
          "grid": {
            "max": null,
            "min": null,
            "leftMax": null,
            "rightMax": null,
            "leftMin": 0,
            "rightMin": null,
            "threshold1": 100,
            "threshold2": 300,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2Color": "rgba(234, 112, 112, 0.22)",
            "thresholdLine": false
          },
          "resolution": 100,
          "lines": true,
          "fill": 1,
          "linewidth": 2,
          "points": false,
          "pointradius": 5,
          "bars": false,
          "stack": false,
          "spyable": true,
          "options": false,
          "legend": {
            "show": true,
            "values": true,
            "min": false,
            "max": true,
            "current": false,
            "total": false,
            "avg": true,
            "alignAsTable": false
          },
          "interactive": true,
          "legend_counts": true,
          "timezone": "browser",
          "percentage": false,
          "zerofill": true,
          "nullPointMode": "null",
          "steppedLine": false,
          "tooltip": {
            "value_type": "cumulative",
            "query_as_alias": true,
            "shared": true
          },
          "targets": [
            {
              "target": "alias(movingAverage(consolidateBy(reqstats.500, 'max'), 5), '500 resp/min')",
              "hide": false
            },
            {
              "target": "alias(movingAverage(consolidateBy(reqstats.5xx, 'max'), 5), '5xx resp/min')"
            }
          ],
          "aliasColors": {},
          "aliasYAxis": {},
          "title": "HTTP 5xx Responses",
          "datasource": "graphite",
          "renderer": "flot",
          "annotate": {
            "enable": false
          },
          "seriesOverrides": [
            {
              "alias": "5xx resp/min",
              "yaxis": 2
            }
          ],
          "leftYAxisLabel": "",
          "height": "",
          "timeFrom": null,
          "timeShift": null,
          "links": []
        },
        {
          "id": 9,
          "span": 12,
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "scale": 1,
          "y_formats": [
            "short",
            "short"
          ],
          "grid": {
            "max": null,
            "min": null,
            "leftMax": null,
            "rightMax": null,
            "leftMin": null,
            "rightMin": null,
            "threshold1": 35000,
            "threshold2": 60000,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "resolution": 100,
          "lines": true,
          "fill": 1,
          "linewidth": 2,
          "points": false,
          "pointradius": 5,
          "bars": false,
          "stack": false,
          "spyable": true,
          "options": false,
          "legend": {
            "show": true,
            "values": true,
            "min": false,
            "max": true,
            "current": false,
            "total": false,
            "avg": true,
            "alignAsTable": true
          },
          "interactive": true,
          "legend_counts": true,
          "timezone": "browser",
          "percentage": true,
          "zerofill": true,
          "nullPointMode": "null",
          "steppedLine": false,
          "tooltip": {
            "value_type": "cumulative",
            "query_as_alias": true,
            "shared": true
          },
          "targets": [
            {
              "target": "alias(reqstats.4xx, '4xx resp/min')"
            },
            {
              "target": "alias(consolidateBy(reqstats.4xx, 'max'), 'max 4xx resp/min')"
            }
          ],
          "aliasColors": {
            "max 4xx resp/min": "#F29191"
          },
          "aliasYAxis": {},
          "title": "HTTP 4xx Responses",
          "datasource": "graphite",
          "renderer": "flot",
          "annotate": {
            "enable": false
          },
          "seriesOverrides": [
            {
              "alias": "max 4xx resp/min",
              "fill": 0,
              "linewidth": 1
            }
          ],
          "leftYAxisLabel": "",
          "height": "",
          "timeFrom": null,
          "timeShift": null,
          "links": []
        }
      ],
      "editable": true,
      "showTitle": false
    }
  ],
  "nav": [
    {
      "type": "timepicker",
      "collapse": false,
      "enable": true,
      "status": "Stable",
      "time_options": [
        "1h",
        "3h",
        "8h",
        "24h",
        "7d",
        "30d",
        "6M",
        "1y"
      ],
      "refresh_intervals": [
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "1d"
      ],
      "now": true,
      "notice": false,
      "nowDelay": ""
    }
  ],
  "time": {
    "from": "now-8h",
    "to": "now"
  },
  "templating": {
    "list": []
  },
  "annotations": {
    "list": [
      {
        "name": "Show deployments",
        "datasource": "graphite",
        "showLine": true,
        "iconColor": "rgba(21, 106, 119, 0.86)",
        "lineColor": "rgba(11, 89, 115, 0.59)",
        "iconSize": 10,
        "enable": false,
        "target": "exclude(aliasByNode(deploy.*.count,-2),\"all\")"
      }
    ],
    "enable": true
  },
  "refresh": "1m",
  "version": 6,
  "hideAllLegends": false
}