From c7161df22eca611fe94095afe8ffa49cf56e1488 Mon Sep 17 00:00:00 2001 From: Denis Verentsov Date: Tue, 24 Sep 2024 16:16:17 +0500 Subject: [PATCH] Add new android metrics dashboard example --- ...d_worker_metrics_dashboard_example_v2.json | 2012 +++++++++++++++++ 1 file changed, 2012 insertions(+) create mode 100644 Resources/Android/android_worker_metrics_dashboard_example_v2.json diff --git a/Resources/Android/android_worker_metrics_dashboard_example_v2.json b/Resources/Android/android_worker_metrics_dashboard_example_v2.json new file mode 100644 index 00000000..3424f9de --- /dev/null +++ b/Resources/Android/android_worker_metrics_dashboard_example_v2.json @@ -0,0 +1,2012 @@ +{ + "__inputs": [ + { + "name": "DS_GRAPHITE", + "label": "graphite", + "description": "", + "type": "datasource", + "pluginId": "graphite", + "pluginName": "Graphite" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "9.5.18" + }, + { + "type": "datasource", + "id": "graphite", + "name": "Graphite", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "", + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 2, + "pointSize": 7, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.5", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "A", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.network_response_code', 'worker_id=$worker_id'), 'endpoint')", + "textEditor": true + } + ], + "thresholds": [], + "title": "Request code", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 1, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "refId": "A", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.network_request_time', 'worker_id=~'), 'endpoint')", + "textEditor": true + } + ], + "thresholds": [], + "title": "Request time", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": true, + "refCount": 0, + "refId": "A", + "target": "seriesByTag('name=apps.mobile.metrics.awesomeapp.work_time', 'worker_id=$worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "B", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.work_time', 'worker_id=$worker_id'), 'worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "C", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.work_time', 'worker_id=$worker_id', 'sdk=$sdk'), 'worker_id')", + "textEditor": true + } + ], + "title": "Work time per worker", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 10 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": true, + "refCount": 0, + "refId": "A", + "target": "seriesByTag('name=apps.mobile.metrics.awesomeapp.artifacts_download_time', 'worker_id=$worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "B", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.artifacts_download_time', 'worker_id=$worker_id'), 'worker_id')", + "textEditor": true + } + ], + "title": "Apks download time per worker", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 18, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": true, + "refCount": 0, + "refId": "A", + "target": "seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_get_device', 'worker_id=$worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "B", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_get_device', 'worker_id=$worker_id'), 'worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "C", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_get_device', 'worker_id=$worker_id', 'sdk=$sdk'), 'worker_id')", + "textEditor": true + } + ], + "title": "Time to get device", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 18 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": true, + "refCount": 0, + "refId": "A", + "target": "seriesByTag('name=apps.mobile.metrics.awesomeapp.artifact_downloaded', 'worker_id=$worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": true, + "refCount": 0, + "refId": "B", + "target": "seriesByTag('name=apps.mobile.metrics.awesomeapp.artifact_reused', 'worker_id=$worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "C", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.artifact_downloaded', 'worker_id=$worker_id'), 'worker_id')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "D", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.artifact_reused', 'worker_id=$worker_id'), 'worker_id')", + "textEditor": true + } + ], + "title": "Apk downloaded OR reused per worker", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "failed_on_assumption" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "passed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_test" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_run" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 20, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Distinct Count", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.7", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "B", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.test_execution_time', 'instrumentation_result=~*'), 'instrumentation_result')", + "textEditor": true + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "A", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.test_execution_time', 'sdk=$sdk'), 'instrumentation_result')", + "textEditor": true + } + ], + "title": "Test execution time and status", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 35 + }, + "id": 25, + "panels": [], + "title": "Detailed metrics", + "type": "row" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "failed_on_assumption" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "passed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_test" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_run" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 36 + }, + "id": 26, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Distinct Count", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.7", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "refId": "A", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.test_artifacts_extract_time', 'sdk=$sdk'), 'sdk')", + "textEditor": true + } + ], + "title": "Time to extract test artifacts", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "failed_on_assumption" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "passed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_test" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_run" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 36 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Distinct Count", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.7", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "B", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_start_device', 'sdk=$sdk'), 'sdk')", + "textEditor": true + } + ], + "title": "Time to start device", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "failed_on_assumption" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "passed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_test" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_run" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 44 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Distinct Count", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.7", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "refId": "A", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_install_apks', 'sdk=$sdk'), 'sdk')", + "textEditor": true + } + ], + "title": "Time to install 2 apk files", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "failed_on_assumption" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "passed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_test" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_run" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 44 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Distinct Count", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.7", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "B", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_stop_device', 'sdk=$sdk'), 'sdk')", + "textEditor": true + } + ], + "title": "Time to stop device", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "failed_on_assumption" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "passed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_test" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_run" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 52 + }, + "id": 28, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Distinct Count", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.7", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "refId": "A", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_uninstall_apks', 'sdk=$sdk'), 'sdk')", + "textEditor": true + } + ], + "title": "Time to uninstall 2 apk files", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "failed_on_assumption" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "passed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_test" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "failed_run" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 52 + }, + "id": 23, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Distinct Count", + "sortDesc": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.1.7", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "B", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_find_device', 'sdk=$sdk'), 'sdk')", + "textEditor": true + } + ], + "title": "Time to find device", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 60 + }, + "id": 30, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "hide": false, + "refCount": 0, + "refId": "C", + "target": "aliasByTags(seriesByTag('name=apps.mobile.metrics.awesomeapp.time_to_create_new_device', 'worker_id=$worker_id', 'sdk=$sdk'), 'worker_id')", + "textEditor": true + } + ], + "title": "Time to create new device", + "type": "timeseries" + } + ], + "refresh": "", + "schemaVersion": 38, + "style": "dark", + "tags": [ + "android" + ], + "templating": { + "list": [ + { + "allValue": "~*", + "current": {}, + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "definition": "", + "hide": 0, + "includeAll": true, + "label": "worker_id", + "multi": false, + "name": "worker_id", + "options": [], + "query": { + "queryType": "Default", + "refId": "A", + "target": "tag_values(worker_id, name=~apps.mobile.metrics.awesomeapp.*)" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "allValue": "~*", + "current": {}, + "datasource": { + "type": "graphite", + "uid": "${DS_GRAPHITE}" + }, + "definition": "", + "description": "Device sdk version", + "hide": 0, + "includeAll": true, + "label": "sdk", + "multi": false, + "name": "sdk", + "options": [], + "query": { + "queryType": "Default", + "refId": "A", + "target": "tag_values(sdk, name=~apps.mobile.metrics.awesomeapp.*)" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-3h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Android Emcee worker metrics", + "uid": "HBD9rya1j", + "version": 10, + "weekStart": "" +}