Grafana.wikimedia.org/mw-js-deprecate.json

From Wikitech

{

 "id": 37,
 "title": "mw-js-deprecate",
 "tags": [
   "mediawiki"
 ],
 "style": "light",
 "timezone": "utc",
 "editable": true,
 "hideControls": true,
 "sharedCrosshair": true,
 "rows": [
   {
     "collapse": false,
     "editable": true,
     "height": "300px",
     "panels": [
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": true,
         "datasource": "graphite",
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)"
         },
         "height": "",
         "id": 8,
         "interactive": true,
         "legend": {
           "avg": false,
           "current": false,
           "hideEmpty": false,
           "max": false,
           "min": false,
           "show": true,
           "total": false,
           "values": false
         },
         "legend_counts": true,
         "lines": false,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": true,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": false,
         "steppedLine": false,
         "targets": [
           {
             "refId": "A",
             "target": "alias(summarize(sumSeries(mw.js.deprecate.*.sum), '$Step', 'sum', true), 'Total')",
             "textEditor": false
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "Overview (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "cumulative"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": 0,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": false
           }
         ],
         "zerofill": true
       }
     ],
     "showTitle": false,
     "title": "Overview"
   },
   {
     "collapse": false,
     "editable": true,
     "height": "450px",
     "panels": [
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": false,
         "datasource": "graphite",
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)"
         },
         "height": "",
         "id": 9,
         "interactive": true,
         "legend": {
           "avg": false,
           "current": false,
           "hideEmpty": true,
           "hideZero": true,
           "max": false,
           "min": false,
           "show": true,
           "total": false,
           "values": false
         },
         "legend_counts": true,
         "lines": true,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": true,
         "steppedLine": false,
         "targets": [
           {
             "hide": false,
             "refId": "A",
             "target": "aliasByNode(sortByMaxima(summarize(mw.js.deprecate.{clientPC,is_gecko,is_chrome_mac,is_chrome,webkit_version,is_safari_win,is_safari,webkit_match,is_ff2,ff2_bugs,is_ff2_win,is_ff2_x11,opera95_bugs,opera7_bugs,opera6_bugs,is_opera_95,is_opera_preseven,is_opera,ie6_bugs,ie6_bugs,doneOnloadHook,onloadFuncts,runOnloadHook,changeText,killEvt,addHandler,hookEvent,addClickHandler,removeHandler,getElementsByClassName,getInnerText,addOnloadHook,checkboxes,lastCheckbox,setupCheckboxShiftClick,addCheckboxClickHandlers,checkboxClickHandler,mwEditButtons,mwCustomEditButtons,injectSpinner,removeSpinner,escapeQuotes,escapeQuotesHTML,jsMsg,addPortletLink,appendCSS,tooltipAccessKeyPrefix,tooltipAccessKeyRegexp,loadedScripts,importScriptURI,importStylesheetURI}.sum, '$Step', 'sum', true)), 3)",
             "textEditor": false
           },
           {
             "hide": false,
             "refId": "B",
             "target": "alias(summarize(mw.js.deprecate.write.sum, '$Step', 'sum', true), 'document.write')",
             "textEditor": false
           },
           {
             "hide": false,
             "refId": "C",
             "target": "alias(summarize(mw.js.deprecate.writeln.sum, '$Step', 'sum', true), 'document.writeln')"
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "legacy.wikibits (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "individual"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": true
           }
         ],
         "zerofill": true
       }
     ],
     "title": "Breakdown: wikibits"
   },
   {
     "collapse": false,
     "editable": true,
     "height": "450px",
     "panels": [
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": true,
         "datasource": "graphite",
         "decimals": null,
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)",
           "thresholdLine": false
         },
         "height": "",
         "id": 16,
         "interactive": true,
         "legend": {
           "avg": false,
           "current": false,
           "hideEmpty": false,
           "hideZero": false,
           "max": true,
           "min": false,
           "show": true,
           "total": false,
           "values": true
         },
         "legend_counts": true,
         "lines": false,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": true,
         "steppedLine": false,
         "targets": [
           {
             "hide": false,
             "refId": "B",
             "target": "aliasByNode(summarize(mw.js.deprecate.oojs_ui.sum, '$Step', 'sum', true), 3)",
             "textEditor": false
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "oojs-ui (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "individual"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": 0,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": false
           }
         ],
         "zerofill": true
       }
     ],
     "title": "OOjs UI"
   },
   {
     "collapse": false,
     "editable": true,
     "height": "450px",
     "panels": [
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": false,
         "datasource": "graphite",
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)"
         },
         "height": "",
         "id": 7,
         "interactive": true,
         "legend": {
           "avg": false,
           "current": false,
           "hideEmpty": true,
           "hideZero": true,
           "max": false,
           "min": false,
           "show": true,
           "total": false,
           "values": false
         },
         "legend_counts": true,
         "lines": true,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": true,
         "steppedLine": false,
         "targets": [
           {
             "refId": "A",
             "target": "aliasByNode(sortByMaxima(highestAverage(summarize(mw.js.deprecate.{wg*,skin,stylepath}.sum, '$Step', 'sum', true), 35)), 3)"
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "mw.config globals (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": false,
           "sort": 0,
           "value_type": "individual"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": true
           }
         ],
         "zerofill": true
       },
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": true,
         "datasource": "graphite",
         "decimals": null,
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)",
           "thresholdLine": false
         },
         "height": "",
         "id": 10,
         "interactive": true,
         "legend": {
           "avg": false,
           "current": false,
           "hideEmpty": false,
           "hideZero": false,
           "max": true,
           "min": false,
           "show": true,
           "total": false,
           "values": true
         },
         "legend_counts": true,
         "lines": false,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": true,
         "steppedLine": false,
         "targets": [
           {
             "hide": false,
             "refId": "B",
             "target": "aliasByNode(summarize(mw.js.deprecate.{jsMessage,wikiGetlink}.sum, '$Step', 'sum', true), 3)",
             "textEditor": false
           },
           {
             "hide": false,
             "refId": "A",
             "target": "aliasByNode(summarize(mw.js.deprecate.{tooltipAccessKeyPrefix,tooltipAccessKeyRegexp,updateTooltipAccessKeys}.sum, '$Step', 'sum', true), 3)",
             "textEditor": false
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "mediawiki.util (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "individual"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": 0,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": false
           }
         ],
         "zerofill": true
       },
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": true,
         "datasource": "graphite",
         "decimals": null,
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)",
           "thresholdLine": false
         },
         "height": "",
         "id": 15,
         "interactive": true,
         "legend": {
           "avg": false,
           "current": false,
           "hideEmpty": true,
           "hideZero": false,
           "max": true,
           "min": false,
           "show": true,
           "total": false,
           "values": true
         },
         "legend_counts": true,
         "lines": false,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": true,
         "steppedLine": false,
         "targets": [
           {
             "hide": false,
             "refId": "B",
             "target": "aliasByNode(summarize(mw.js.deprecate.{trimLeft,trimRight,ucFirst,isDomElement,isEmpty,compareArray,compareObject,escapeRE}.sum, '$Step', 'sum', true), 3)",
             "textEditor": false
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "Legacy jquery.mwExtension (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "individual"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": 0,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": true
           }
         ],
         "zerofill": true
       },
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": true,
         "datasource": "graphite",
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)"
         },
         "height": "",
         "id": 12,
         "interactive": true,
         "legend": {
           "alignAsTable": false,
           "avg": false,
           "current": false,
           "hideEmpty": false,
           "max": true,
           "min": false,
           "show": true,
           "total": false,
           "values": true
         },
         "legend_counts": true,
         "lines": false,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": true,
         "steppedLine": false,
         "targets": [
           {
             "refId": "B",
             "target": "alias(summarize(mw.js.deprecate._j.sum, '$Step', 'sum'), '$j')"
           },
           {
             "refId": "A",
             "target": "alias(summarize(mw.js.deprecate.Map_values.sum, '$Step', 'sum'), 'Map-values')"
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "mediawiki.js (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "individual"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": 0,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": false
           }
         ],
         "zerofill": true
       },
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": true,
         "datasource": "graphite",
         "decimals": 0,
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)"
         },
         "height": "",
         "id": 11,
         "interactive": true,
         "legend": {
           "avg": false,
           "current": false,
           "hideEmpty": false,
           "max": true,
           "min": false,
           "show": true,
           "total": false,
           "values": true
         },
         "legend_counts": true,
         "lines": false,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": true,
         "steppedLine": false,
         "targets": [
           {
             "refId": "A",
             "target": "aliasByNode(summarize(mw.js.deprecate.{addButton,insertTags}.sum, '$Step', 'sum', true), 3)"
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "mediawiki.action.edit (per $Step)",
         "tooltip": {
           "msResolution": false,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "individual"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": 0,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": false
           }
         ],
         "zerofill": true
       },
       {
         "aliasColors": {},
         "annotate": {
           "enable": false
         },
         "bars": true,
         "datasource": "graphite",
         "fill": 1,
         "grid": {
           "max": null,
           "min": null,
           "threshold1": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2": null,
           "threshold2Color": "rgba(234, 112, 112, 0.22)"
         },
         "height": "",
         "id": 13,
         "interactive": true,
         "legend": {
           "alignAsTable": false,
           "avg": false,
           "current": false,
           "hideEmpty": false,
           "max": false,
           "min": false,
           "show": true,
           "total": false,
           "values": false
         },
         "legend_counts": true,
         "lines": false,
         "linewidth": 2,
         "links": [],
         "nullPointMode": "null as zero",
         "options": false,
         "percentage": true,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "resolution": 100,
         "scale": 1,
         "seriesOverrides": [],
         "span": 12,
         "spyable": true,
         "stack": false,
         "steppedLine": false,
         "targets": [
           {
             "refId": "B",
             "target": "alias(summarize(mw.js.deprecate.tipsy_live.sum, '$Step', 'sum'), 'tipsy-live')"
           }
         ],
         "timeFrom": null,
         "timeShift": null,
         "timezone": "browser",
         "title": "jquery.tipsy (per $Step)",
         "tooltip": {
           "msResolution": true,
           "query_as_alias": true,
           "shared": true,
           "sort": 0,
           "value_type": "cumulative"
         },
         "type": "graph",
         "xaxis": {
           "show": true
         },
         "yaxes": [
           {
             "format": "short",
             "label": "",
             "logBase": 1,
             "max": null,
             "min": 0,
             "show": true
           },
           {
             "format": "short",
             "logBase": 1,
             "max": null,
             "min": null,
             "show": true
           }
         ],
         "zerofill": true
       }
     ],
     "showTitle": false,
     "title": "Breakdown: others"
   },
   {
     "collapse": false,
     "editable": true,
     "height": "100px",
     "panels": [
       {
         "content": "* 2016-09-09: Generate \"sum\" aggregation for legacy_wikibits metrics so that the \"Per 24h\" data from \"Last 90 days\" doesn't ignore counts from minutes with <0.5 ratio. This has been the default for a while, but Graphite substituted this a long time ago. This resulted in a higher count starting at this date when querying more than the last 7 days (older data was already lost and unaffected).\n* 2016-11-10: Regenerate \"sum\" aggregation for \"mw.config\", \"jquery.mwExtension\" and \"mediawiki.action.edit\" metrics, which had the old <0.5 ratio still. This shows a a sudden bump as previously a lot of data was lost when looking at queries wider than last 7 days.",
         "editable": true,
         "error": false,
         "id": 14,
         "isNew": true,
         "links": [],
         "mode": "markdown",
         "span": 12,
         "title": "Notable events",
         "type": "text"
       }
     ],
     "showTitle": false,
     "title": "Footer info"
   }
 ],
 "time": {
   "from": "now-60d",
   "to": "now"
 },
 "timepicker": {
   "collapse": false,
   "enable": true,
   "notice": false,
   "now": true,
   "nowDelay": "",
   "refresh_intervals": [
     "1m",
     "5m",
     "15m",
     "30m",
     "1h"
   ],
   "status": "Stable",
   "time_options": [
     "24h",
     "7d",
     "14d",
     "30d",
     "4M"
   ],
   "type": "timepicker"
 },
 "templating": {
   "enable": true,
   "list": [
     {
       "allFormat": "glob",
       "current": {
         "tags": [],
         "text": "24h",
         "value": "24h"
       },
       "datasource": null,
       "hide": 0,
       "includeAll": false,
       "name": "Step",
       "options": [
         {
           "selected": true,
           "text": "24h",
           "value": "24h"
         },
         {
           "selected": false,
           "text": "1h",
           "value": "1h"
         }
       ],
       "query": "24h,1h",
       "refresh": 0,
       "refresh_on_load": false,
       "type": "custom"
     }
   ]
 },
 "annotations": {
   "enable": false,
   "list": []
 },
 "refresh": "1m",
 "schemaVersion": 12,
 "version": 57,
 "links": [],
 "gnetId": null

}