Grafana.wikimedia.org/eventlogging-schema.json

From Wikitech
Jump to navigation Jump to search

{

 "id": null,
 "title": "EventLogging-schema",
 "originalTitle": "EventLogging-schema",
 "tags": [
   "analytics"
 ],
 "style": "light",
 "timezone": "utc",
 "editable": true,
 "hideControls": false,
 "sharedCrosshair": true,
 "rows": [
   {
     "title": "test",
     "height": "300px",
     "collapse": false,
     "panels": [
       {
         "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": null,
           "threshold2": null,
           "threshold1Color": "rgba(216, 200, 27, 0.27)",
           "threshold2Color": "rgba(234, 112, 112, 0.22)"
         },
         "resolution": 100,
         "lines": true,
         "fill": 1,
         "linewidth": 1,
         "points": false,
         "pointradius": 5,
         "bars": false,
         "stack": false,
         "spyable": true,
         "options": false,
         "legend": {
           "show": true,
           "values": true,
           "min": true,
           "max": true,
           "current": true,
           "total": true,
           "avg": true,
           "hideEmpty": true,
           "alignAsTable": true
         },
         "interactive": true,
         "legend_counts": true,
         "timezone": "browser",
         "percentage": false,
         "zerofill": true,
         "nullPointMode": "null",
         "steppedLine": false,
         "tooltip": {
           "value_type": "individual",
           "query_as_alias": true,
           "shared": true
         },
         "targets": [
           {
             "target": "alias(movingAverage(scale(sumSeries(kafka.kafka*.kafka.server.BrokerTopicMetrics.MessagesInPerSec.eventlogging_{$schema}.OneMinuteRate), 60), $moving), 'rate')"
           },
           {
             "target": "alias(timeShift(movingAverage(scale(sumSeries(kafka.kafka*.kafka.server.BrokerTopicMetrics.MessagesInPerSec.eventlogging_{$schema}.OneMinuteRate), 60), $moving), '1d'), 'yesterday')"
           },
           {
             "target": "alias(timeShift(movingAverage(scale(sumSeries(kafka.kafka*.kafka.server.BrokerTopicMetrics.MessagesInPerSec.eventlogging_{$schema}.OneMinuteRate), 60), $moving), '6d'), '6 days ago')"
           }
         ],
         "aliasColors": {
           "yesterday": "#EAB839",
           "eventlogging_NavigationTiming": "#7EB26D",
           "rate": "#7EB26D"
         },
         "aliasYAxis": {},
         "title": "EventLogging by $schema schema",
         "datasource": "graphite",
         "renderer": "flot",
         "annotate": {
           "enable": false
         },
         "seriesOverrides": [
           {
             "alias": "rate",
             "fill": 3,
             "zindex": 1,
             "linewidth": 2
           }
         ],
         "maxDataPoints": "",
         "timeFrom": null,
         "timeShift": null,
         "links": [],
         "height": "",
         "leftYAxisLabel": "rate per minute"
       }
     ],
     "editable": true
   },
   {
     "title": "New row",
     "height": "250px",
     "editable": true,
     "collapse": false,
     "panels": [
       {
         "id": 10,
         "span": 6,
         "type": "graph",
         "x-axis": true,
         "y-axis": true,
         "scale": 1,
         "y_formats": [
           "none",
           "none"
         ],
         "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": 3,
         "linewidth": 1,
         "points": true,
         "pointradius": 1,
         "bars": false,
         "stack": true,
         "spyable": true,
         "options": false,
         "legend": {
           "show": true,
           "values": true,
           "min": true,
           "max": true,
           "current": true,
           "total": true,
           "avg": true,
           "hideEmpty": true,
           "alignAsTable": true
         },
         "interactive": true,
         "legend_counts": true,
         "timezone": "browser",
         "percentage": false,
         "zerofill": true,
         "nullPointMode": "null as zero",
         "steppedLine": false,
         "tooltip": {
           "value_type": "individual",
           "query_as_alias": true,
           "shared": true
         },
         "targets": [
           {
             "target": "aliasByNode(maximumAbove(consolidateBy(sortByMaxima(eventlogging.client_errors.$schema.*.sum), 'sum'), 0), 2, 3)"
           }
         ],
         "aliasColors": {},
         "aliasYAxis": {},
         "title": "Errors with $schema schema",
         "datasource": "graphite",
         "renderer": "flot",
         "annotate": {
           "enable": false
         },
         "seriesOverrides": [],
         "maxDataPoints": "",
         "timeFrom": null,
         "timeShift": null,
         "links": [],
         "height": "",
         "leftYAxisLabel": "rate per minute"
       },
       {
         "id": 11,
         "span": 6,
         "type": "graph",
         "x-axis": true,
         "y-axis": true,
         "scale": 1,
         "y_formats": [
           "percent",
           "none"
         ],
         "grid": {
           "max": null,
           "min": null,
           "leftMax": null,
           "rightMax": null,
           "leftMin": 0,
           "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": 1,
         "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,
           "hideEmpty": false,
           "alignAsTable": true
         },
         "interactive": true,
         "legend_counts": true,
         "timezone": "browser",
         "percentage": false,
         "zerofill": true,
         "nullPointMode": "null as zero",
         "steppedLine": false,
         "tooltip": {
           "value_type": "individual",
           "query_as_alias": true,
           "shared": true
         },
         "targets": [
           {
             "target": "alias(movingAverage(asPercent(sumSeries(eventlogging.client_errors.$schema.*.sum),sumSeries(group(eventlogging.client_errors.$schema.*.sum, scale(kafka.kafka*.kafka.server.BrokerTopicMetrics.MessagesInPerSec.eventlogging_{$schema}.OneMinuteRate,60)))),$moving),\"client_errors\")"
           },
           {
             "target": "alias(timeShift(movingAverage(asPercent(sumSeries(eventlogging.client_errors.$schema.*.sum),sumSeries(group(eventlogging.client_errors.$schema.*.sum, scale(kafka.kafka*.kafka.server.BrokerTopicMetrics.MessagesInPerSec.eventlogging_{$schema}.OneMinuteRate,60)))),$moving),\"1d\"),\"yesterday\")",
             "hide": false
           },
           {
             "target": "alias(timeShift(movingAverage(asPercent(sumSeries(eventlogging.client_errors.$schema.*.sum),sumSeries(group(eventlogging.client_errors.$schema.*.sum, scale(kafka.kafka*.kafka.server.BrokerTopicMetrics.MessagesInPerSec.eventlogging_{$schema}.OneMinuteRate,60)))),$moving),\"6d\"),\"6 days ago\")",
             "hide": false
           }
         ],
         "aliasColors": {},
         "aliasYAxis": {},
         "title": "Errors with $schema schema (percentage)",
         "datasource": "graphite",
         "renderer": "flot",
         "annotate": {
           "enable": false
         },
         "seriesOverrides": [
           {
             "alias": "client_errors",
             "fill": 3,
             "zindex": 1
           }
         ],
         "maxDataPoints": "",
         "timeFrom": null,
         "timeShift": null,
         "links": [],
         "height": "",
         "leftYAxisLabel": ""
       }
     ]
   }
 ],
 "nav": [
   {
     "type": "timepicker",
     "collapse": false,
     "enable": true,
     "status": "Stable",
     "time_options": [
       "15m",
       "1h",
       "6h",
       "12h",
       "24h",
       "2d",
       "7d",
       "30d"
     ],
     "refresh_intervals": [
       "1m",
       "5m"
     ],
     "now": true,
     "notice": false,
     "nowDelay": "5m"
   }
 ],
 "time": {
   "from": "now-24h",
   "to": "now-5m"
 },
 "templating": {
   "list": [
     {
       "type": "query",
       "datasource": null,
       "refresh_on_load": false,
       "name": "schema",
       "options": [
         {
           "text": "All",
           "value": "*"
         },
         {
           "text": "CentralAuth",
           "value": "CentralAuth"
         },
         {
           "text": "CentralNoticeBannerHistory",
           "value": "CentralNoticeBannerHistory"
         },
         {
           "text": "CompletionSuggestions",
           "value": "CompletionSuggestions"
         },
         {
           "text": "ContentTranslation",
           "value": "ContentTranslation"
         },
         {
           "text": "ContentTranslationCTA",
           "value": "ContentTranslationCTA"
         },
         {
           "text": "ContentTranslationError",
           "value": "ContentTranslationError"
         },
         {
           "text": "DeprecatedUsage",
           "value": "DeprecatedUsage"
         },
         {
           "text": "DidYouMean",
           "value": "DidYouMean"
         },
         {
           "text": "Echo",
           "value": "Echo"
         },
         {
           "text": "EchoInteraction",
           "value": "EchoInteraction"
         },
         {
           "text": "EchoMail",
           "value": "EchoMail"
         },
         {
           "text": "Edit",
           "value": "Edit"
         },
         {
           "text": "EditConflict",
           "value": "EditConflict"
         },
         {
           "text": "ExtDistDownloads",
           "value": "ExtDistDownloads"
         },
         {
           "text": "FlowReplies",
           "value": "FlowReplies"
         },
         {
           "text": "GatherClicks",
           "value": "GatherClicks"
         },
         {
           "text": "GatherFlags",
           "value": "GatherFlags"
         },
         {
           "text": "GeoFeatures",
           "value": "GeoFeatures"
         },
         {
           "text": "GettingStartedRedirectImpression",
           "value": "GettingStartedRedirectImpression"
         },
         {
           "text": "GuidedTourButtonClick",
           "value": "GuidedTourButtonClick"
         },
         {
           "text": "GuidedTourExited",
           "value": "GuidedTourExited"
         },
         {
           "text": "GuidedTourExternalLinkActivation",
           "value": "GuidedTourExternalLinkActivation"
         },
         {
           "text": "GuidedTourGuiderHidden",
           "value": "GuidedTourGuiderHidden"
         },
         {
           "text": "GuidedTourGuiderImpression",
           "value": "GuidedTourGuiderImpression"
         },
         {
           "text": "GuidedTourInternalLinkActivation",
           "value": "GuidedTourInternalLinkActivation"
         },
         {
           "text": "HttpsSupport",
           "value": "HttpsSupport"
         },
         {
           "text": "ImageMetricsCorsSupport",
           "value": "ImageMetricsCorsSupport"
         },
         {
           "text": "ImageMetricsLoadingTime",
           "value": "ImageMetricsLoadingTime"
         },
         {
           "text": "JQMigrateUsage",
           "value": "JQMigrateUsage"
         },
         {
           "text": "MediaViewer",
           "value": "MediaViewer"
         },
         {
           "text": "MobileAppCategorizationAttempts",
           "value": "MobileAppCategorizationAttempts"
         },
         {
           "text": "MobileAppLoginAttempts",
           "value": "MobileAppLoginAttempts"
         },
         {
           "text": "MobileAppShareAttempts",
           "value": "MobileAppShareAttempts"
         },
         {
           "text": "MobileAppTrackingChange",
           "value": "MobileAppTrackingChange"
         },
         {
           "text": "MobileAppUploadAttempts",
           "value": "MobileAppUploadAttempts"
         },
         {
           "text": "MobileBetaWatchlist",
           "value": "MobileBetaWatchlist"
         },
         {
           "text": "MobileOptionsTracking",
           "value": "MobileOptionsTracking"
         },
         {
           "text": "MobileWebBrowse",
           "value": "MobileWebBrowse"
         },
         {
           "text": "MobileWebClickTracking",
           "value": "MobileWebClickTracking"
         },
         {
           "text": "MobileWebDiffClickTracking",
           "value": "MobileWebDiffClickTracking"
         },
         {
           "text": "MobileWebEditing",
           "value": "MobileWebEditing"
         },
         {
           "text": "MobileWebInfobox",
           "value": "MobileWebInfobox"
         },
         {
           "text": "MobileWebMainMenuClickTracking",
           "value": "MobileWebMainMenuClickTracking"
         },
         {
           "text": "MobileWebSearch",
           "value": "MobileWebSearch"
         },
         {
           "text": "MobileWebUIClickTracking",
           "value": "MobileWebUIClickTracking"
         },
         {
           "text": "MobileWebWatching",
           "value": "MobileWebWatching"
         },
         {
           "text": "MobileWebWatchlistClickTracking",
           "value": "MobileWebWatchlistClickTracking"
         },
         {
           "text": "MobileWebWikiGrok",
           "value": "MobileWebWikiGrok"
         },
         {
           "text": "MobileWebWikiGrokError",
           "value": "MobileWebWikiGrokError"
         },
         {
           "text": "MobileWebWikiGrokResponse",
           "value": "MobileWebWikiGrokResponse"
         },
         {
           "text": "MobileWikiAppAppearanceSettings",
           "value": "MobileWikiAppAppearanceSettings"
         },
         {
           "text": "MobileWikiAppArticleSuggestions",
           "value": "MobileWikiAppArticleSuggestions"
         },
         {
           "text": "MobileWikiAppBannerClickThrough",
           "value": "MobileWikiAppBannerClickThrough"
         },
         {
           "text": "MobileWikiAppCreateAccount",
           "value": "MobileWikiAppCreateAccount"
         },
         {
           "text": "MobileWikiAppDailyStats",
           "value": "MobileWikiAppDailyStats"
         },
         {
           "text": "MobileWikiAppEdit",
           "value": "MobileWikiAppEdit"
         },
         {
           "text": "MobileWikiAppInstallReferrer",
           "value": "MobileWikiAppInstallReferrer"
         },
         {
           "text": "MobileWikiAppLangSelect",
           "value": "MobileWikiAppLangSelect"
         },
         {
           "text": "MobileWikiAppLinkPreview",
           "value": "MobileWikiAppLinkPreview"
         },
         {
           "text": "MobileWikiAppLogin",
           "value": "MobileWikiAppLogin"
         },
         {
           "text": "MobileWikiAppMediaGallery",
           "value": "MobileWikiAppMediaGallery"
         },
         {
           "text": "MobileWikiAppNavMenu",
           "value": "MobileWikiAppNavMenu"
         },
         {
           "text": "MobileWikiAppOnboarding",
           "value": "MobileWikiAppOnboarding"
         },
         {
           "text": "MobileWikiAppOperatorCode",
           "value": "MobileWikiAppOperatorCode"
         },
         {
           "text": "MobileWikiAppProtectedEditAttempt",
           "value": "MobileWikiAppProtectedEditAttempt"
         },
         {
           "text": "MobileWikiAppSavedPages",
           "value": "MobileWikiAppSavedPages"
         },
         {
           "text": "MobileWikiAppSearch",
           "value": "MobileWikiAppSearch"
         },
         {
           "text": "MobileWikiAppSessions",
           "value": "MobileWikiAppSessions"
         },
         {
           "text": "MobileWikiAppShareAFact",
           "value": "MobileWikiAppShareAFact"
         },
         {
           "text": "MobileWikiAppStuffHappens",
           "value": "MobileWikiAppStuffHappens"
         },
         {
           "text": "MobileWikiAppTabs",
           "value": "MobileWikiAppTabs"
         },
         {
           "text": "MobileWikiAppToCInteraction",
           "value": "MobileWikiAppToCInteraction"
         },
         {
           "text": "MobileWikiAppWidgets",
           "value": "MobileWikiAppWidgets"
         },
         {
           "text": "ModuleLoadFailure",
           "value": "ModuleLoadFailure"
         },
         {
           "text": "ModuleStorage",
           "value": "ModuleStorage"
         },
         {
           "text": "MultimediaViewerAttribution",
           "value": "MultimediaViewerAttribution"
         },
         {
           "text": "MultimediaViewerDimensions",
           "value": "MultimediaViewerDimensions"
         },
         {
           "text": "MultimediaViewerDuration",
           "value": "MultimediaViewerDuration"
         },
         {
           "text": "MultimediaViewerNetworkPerformance",
           "value": "MultimediaViewerNetworkPerformance"
         },
         {
           "text": "MultimediaViewerVersusPageFilePerformance",
           "value": "MultimediaViewerVersusPageFilePerformance"
         },
         {
           "text": "NavigationTiming",
           "value": "NavigationTiming"
         },
         {
           "text": "NewEditorEdit",
           "value": "NewEditorEdit"
         },
         {
           "text": "PageContentSaveComplete",
           "value": "PageContentSaveComplete"
         },
         {
           "text": "PageCreation",
           "value": "PageCreation"
         },
         {
           "text": "PageDeletion",
           "value": "PageDeletion"
         },
         {
           "text": "PageMove",
           "value": "PageMove"
         },
         {
           "text": "PageRestoration",
           "value": "PageRestoration"
         },
         {
           "text": "PersonalBar",
           "value": "PersonalBar"
         },
         {
           "text": "Popups",
           "value": "Popups"
         },
         {
           "text": "PrefUpdate",
           "value": "PrefUpdate"
         },
         {
           "text": "SaveTiming",
           "value": "SaveTiming"
         },
         {
           "text": "Search",
           "value": "Search"
         },
         {
           "text": "ServerSideAccountCreation",
           "value": "ServerSideAccountCreation"
         },
         {
           "text": "TestSearchSatisfaction",
           "value": "TestSearchSatisfaction"
         },
         {
           "text": "TestSearchSatisfaction2",
           "value": "TestSearchSatisfaction2"
         },
         {
           "text": "TimingData",
           "value": "TimingData"
         },
         {
           "text": "UniversalLanguageSelector",
           "value": "UniversalLanguageSelector"
         },
         {
           "text": "UniversalLanguageSelector-tofu",
           "value": "UniversalLanguageSelector-tofu"
         },
         {
           "text": "UploadWizardErrorFlowEvent",
           "value": "UploadWizardErrorFlowEvent"
         },
         {
           "text": "UploadWizardExceptionFlowEvent",
           "value": "UploadWizardExceptionFlowEvent"
         },
         {
           "text": "UploadWizardFlowEvent",
           "value": "UploadWizardFlowEvent"
         },
         {
           "text": "UploadWizardStep",
           "value": "UploadWizardStep"
         },
         {
           "text": "UploadWizardTutorialActions",
           "value": "UploadWizardTutorialActions"
         },
         {
           "text": "UploadWizardUploadFlowEvent",
           "value": "UploadWizardUploadFlowEvent"
         },
         {
           "text": "WikimediaBlogVisit",
           "value": "WikimediaBlogVisit"
         },
         {
           "text": "WikipediaPortal",
           "value": "WikipediaPortal"
         },
         {
           "text": "SendBeaconReliability",
           "value": "SendBeaconReliability"
         }
       ],
       "includeAll": true,
       "allFormat": "wildcard",
       "query": "eventlogging.schema.*",
       "current": {
         "text": "NavigationTiming",
         "value": "NavigationTiming"
       },
       "regex": "",
       "refresh": true
     },
     {
       "type": "custom",
       "datasource": null,
       "refresh_on_load": false,
       "name": "moving",
       "options": [
         {
           "text": "1",
           "value": "1"
         },
         {
           "text": "5",
           "value": "5"
         },
         {
           "text": "10",
           "value": "10"
         },
         {
           "text": "25",
           "value": "25"
         },
         {
           "text": "100",
           "value": "100"
         },
         {
           "text": "250",
           "value": "250"
         }
       ],
       "includeAll": false,
       "allFormat": "glob",
       "query": "1,5,10,25,100,250",
       "current": {
         "text": "5",
         "value": "5"
       }
     }
   ],
   "enable": true
 },
 "annotations": {
   "list": [
     {
       "name": "Show deployments",
       "datasource": "graphite",
       "showLine": true,
       "iconColor": "rgba(69, 69, 202, 0.78)",
       "lineColor": "rgba(255, 96, 96, 0.592157)",
       "iconSize": 10,
       "enable": false,
       "target": "exclude(aliasByNode(deploy.*.count,-2),\"all\")"
     }
   ],
   "enable": true
 },
 "refresh": "1m",
 "version": 6,
 "hideAllLegends": false

}