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

Grafana.wikimedia.org/save-timing

From Wikitech-static
Jump to navigation Jump to search
{
  "id": null,
  "title": "Save Timing",
  "originalTitle": "Save Timing",
  "tags": [
    "performance"
  ],
  "style": "light",
  "timezone": "utc",
  "editable": true,
  "hideControls": false,
  "sharedCrosshair": true,
  "rows": [
    {
      "title": "EventLogging",
      "height": "25px",
      "editable": true,
      "collapse": false,
      "panels": [
        {
          "id": 8,
          "span": 6,
          "type": "singlestat",
          "datasource": "graphite",
          "height": "",
          "links": [
            {
              "type": "dashboard",
              "name": "Drilldown dashboard",
              "title": "EventLogging dashboard for Schema:NavigationTiming",
              "dashboard": "EventLogging-schema",
              "params": "var-schema=NavigationTiming"
            }
          ],
          "maxDataPoints": "",
          "interval": null,
          "targets": [
            {
              "target": "eventlogging.schema.SaveTiming.sum",
              "hide": false
            }
          ],
          "cacheTimeout": null,
          "format": "short",
          "prefix": "Sample rate",
          "postfix": "x/min",
          "nullText": null,
          "valueMaps": [
            {
              "value": "null",
              "op": "=",
              "text": "N/A"
            }
          ],
          "nullPointMode": "connected",
          "valueName": "current",
          "prefixFontSize": "30%",
          "valueFontSize": "50%",
          "postfixFontSize": "30%",
          "thresholds": "0,30,80",
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(0, 0, 0, 0.88)"
          ],
          "sparkline": {
            "show": true,
            "full": true,
            "lineColor": "rgba(31, 120, 193, 0.68)",
            "fillColor": "rgba(36, 133, 212, 0.14)"
          },
          "title": ""
        },
        {
          "id": 9,
          "span": 6,
          "type": "singlestat",
          "datasource": "graphite",
          "height": "",
          "links": [
            {
              "type": "dashboard",
              "name": "Drilldown dashboard",
              "title": "EventLogging dashboard for Schema:NavigationTiming",
              "dashboard": "EventLogging-schema",
              "params": "var-schema=NavigationTiming"
            }
          ],
          "maxDataPoints": "",
          "interval": null,
          "targets": [
            {
              "target": "sumSeries(transformNull(eventlogging.client_errors.SaveTiming.*.sum,0))",
              "hide": false
            }
          ],
          "cacheTimeout": null,
          "format": "short",
          "prefix": "Error rate",
          "postfix": "x/min",
          "nullText": null,
          "valueMaps": [
            {
              "value": "null",
              "op": "=",
              "text": "0"
            }
          ],
          "nullPointMode": "connected",
          "valueName": "current",
          "prefixFontSize": "30%",
          "valueFontSize": "70%",
          "postfixFontSize": "30%",
          "thresholds": "0,2,10",
          "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": "rgba(31, 120, 193, 0.68)",
            "fillColor": "rgba(31, 118, 189, 0.15)"
          },
          "title": ""
        }
      ]
    },
    {
      "title": "Coal",
      "height": "450px",
      "collapse": false,
      "panels": [
        {
          "id": 5,
          "span": 12,
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "scale": 1,
          "y_formats": [
            "ms",
            "short"
          ],
          "grid": {
            "max": null,
            "min": null,
            "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)"
          },
          "resolution": 100,
          "lines": true,
          "fill": 2,
          "linewidth": 1,
          "points": false,
          "pointradius": 1,
          "bars": false,
          "stack": false,
          "spyable": true,
          "options": false,
          "legend": {
            "show": true,
            "values": true,
            "min": true,
            "max": true,
            "current": true,
            "total": false,
            "avg": true,
            "alignAsTable": true
          },
          "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(timeShift(movingAverage(coal.saveTiming, $movingAverage), '6d'), '6 days ago')",
              "hide": false
            },
            {
              "target": "alias(timeShift(movingAverage(coal.saveTiming, $movingAverage), '1d'), 'yesterday')",
              "hide": false
            },
            {
              "target": "alias(movingAverage(coal.saveTiming, $movingAverage), 'Median')",
              "hide": false
            }
          ],
          "aliasColors": {
            "6 days ago": "#BADFF4",
            "yesterday": "#F4D598",
            "Median": "#7EB26D"
          },
          "aliasYAxis": {},
          "title": "Time to first byte after saving edits",
          "datasource": "graphite",
          "renderer": "flot",
          "annotate": {
            "enable": false
          },
          "seriesOverrides": [
            {
              "alias": "Median",
              "linewidth": 2
            }
          ],
          "leftYAxisLabel": "",
          "height": "",
          "links": [],
          "timeFrom": null,
          "timeShift": null
        }
      ],
      "editable": true
    },
    {
      "title": "New row",
      "height": "250px",
      "editable": true,
      "collapse": false,
      "panels": [
        {
          "id": 6,
          "span": 12,
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "scale": 1,
          "y_formats": [
            "ms",
            "short"
          ],
          "grid": {
            "max": null,
            "min": null,
            "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)"
          },
          "resolution": 100,
          "lines": true,
          "fill": 2,
          "linewidth": 1,
          "points": false,
          "pointradius": 1,
          "bars": false,
          "stack": false,
          "spyable": true,
          "options": false,
          "legend": {
            "show": true,
            "values": true,
            "min": true,
            "max": true,
            "current": false,
            "total": false,
            "avg": true,
            "alignAsTable": true
          },
          "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(coal.saveTiming, 250), 'Median')",
              "hide": false
            }
          ],
          "aliasColors": {},
          "aliasYAxis": {},
          "title": "History",
          "datasource": "graphite",
          "renderer": "flot",
          "annotate": {
            "enable": false
          },
          "seriesOverrides": [],
          "leftYAxisLabel": "",
          "height": "",
          "links": [],
          "timeFrom": "4M",
          "timeShift": null
        }
      ]
    }
  ],
  "nav": [
    {
      "type": "timepicker",
      "collapse": false,
      "enable": true,
      "status": "Stable",
      "time_options": [
        "1h",
        "6h",
        "12h",
        "24h",
        "7d",
        "30d",
        "6M"
      ],
      "refresh_intervals": [
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "2h",
        "1d"
      ],
      "now": true,
      "notice": false,
      "nowDelay": "1m"
    }
  ],
  "time": {
    "from": "now-24h",
    "to": "now-1m",
    "now": true
  },
  "templating": {
    "list": [
      {
        "type": "custom",
        "datasource": null,
        "refresh_on_load": false,
        "name": "movingAverage",
        "options": [
          {
            "text": "1",
            "value": "1"
          },
          {
            "text": "10",
            "value": "10"
          },
          {
            "text": "20",
            "value": "20"
          },
          {
            "text": "25",
            "value": "25"
          },
          {
            "text": "50",
            "value": "50"
          },
          {
            "text": "100",
            "value": "100"
          },
          {
            "text": "250",
            "value": "250"
          }
        ],
        "includeAll": false,
        "allFormat": "glob",
        "query": "1,10,20,25,50,100,250",
        "current": {
          "text": "100",
          "value": "100"
        }
      }
    ],
    "enable": true
  },
  "annotations": {
    "list": [
      {
        "name": "Show deployments",
        "datasource": "graphite",
        "showLine": true,
        "iconColor": "rgba(6, 85, 117, 0.82)",
        "lineColor": "rgba(41, 125, 175, 0.52)",
        "iconSize": 10,
        "enable": false,
        "target": "exclude(aliasByNode(deploy.*.count,-2),\"all\")"
      }
    ],
    "enable": true
  },
  "refresh": "5m",
  "version": 6,
  "hideAllLegends": false
}