Last active
February 22, 2019 11:46
-
-
Save oaltman/123398b56195af057a7d8af5137c297e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_GRAPHITE-PROXY", | |
| "label": "graphite-proxy", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "graphite", | |
| "pluginName": "Graphite" | |
| } | |
| ], | |
| "__requires": [ | |
| { | |
| "type": "grafana", | |
| "id": "grafana", | |
| "name": "Grafana", | |
| "version": "5.0.4" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "graph", | |
| "name": "Graph", | |
| "version": "5.0.0" | |
| }, | |
| { | |
| "type": "datasource", | |
| "id": "graphite", | |
| "name": "Graphite", | |
| "version": "5.0.0" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "table", | |
| "name": "Table", | |
| "version": "5.0.0" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "text", | |
| "name": "Text", | |
| "version": "5.0.0" | |
| } | |
| ], | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| }, | |
| { | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "enable": true, | |
| "hide": false, | |
| "iconColor": "#ba43a9", | |
| "limit": 100, | |
| "name": "Token flow deploy (env: production)", | |
| "showIn": 0, | |
| "tags": [], | |
| "target": "aliasSub(application.counters.sbks.hera.mesos.deployment.hera.token-flow.production.*.count,\"application.counters.sbks.hera.mesos.deployment.hera.token-flow.production.(.*).count\",\"🚢 Token Flow (env: production) deployed: https://git.ccl/hera/token-flow/commit/\\1\")", | |
| "type": "tags" | |
| }, | |
| { | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "enable": true, | |
| "hide": false, | |
| "iconColor": "#65c5db", | |
| "limit": 100, | |
| "name": "Token pool deploy (env: production)", | |
| "showIn": 0, | |
| "tags": [], | |
| "target": "aliasSub(application.counters.sbks.hera.mesos.deployment.hera.token-pool-api.production.*.count,\"application.counters.sbks.hera.mesos.deployment.hera.token-pool-api.production.(.*).count\",\"🚢 Token pool (env: production) deployed: https://git.ccl/hera/token-pool-api/commit/\\1\")", | |
| "type": "tags" | |
| }, | |
| { | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "enable": true, | |
| "hide": false, | |
| "iconColor": "#0a50a1", | |
| "limit": 100, | |
| "name": "Token pool deploy (env: token-flow)", | |
| "showIn": 0, | |
| "tags": [], | |
| "target": "aliasSub(application.counters.sbks.hera.mesos.deployment.hera.token-pool-api.token-flow.*.count,\"application.counters.sbks.hera.mesos.deployment.hera.token-pool-api.token-flow.(.*).count\",\"🚢 Token pool (env: token-flow) deployed: https://git.ccl/hera/token-pool-api/commit/\\1\")", | |
| "type": "tags" | |
| } | |
| ] | |
| }, | |
| "description": "Monitoring dashboard for Token Flow service", | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 0, | |
| "id": null, | |
| "iteration": 1550727369669, | |
| "links": [ | |
| { | |
| "icon": "external link", | |
| "tags": [], | |
| "targetBlank": true, | |
| "title": "Gitlab", | |
| "tooltip": "Project gitlab", | |
| "type": "link", | |
| "url": "https://git.ccl/hera/token-flow" | |
| }, | |
| { | |
| "icon": "external link", | |
| "tags": [], | |
| "targetBlank": true, | |
| "title": "RabbitQueue", | |
| "tooltip": "token_changed_queue", | |
| "type": "link", | |
| "url": "http://rabbitmq2-2-b.us-w2.aws.ccl:15672/#/queues/%2F/token_pool_change_queue" | |
| } | |
| ], | |
| "panels": [ | |
| { | |
| "content": "## Metrics Overview", | |
| "gridPos": { | |
| "h": 3, | |
| "w": 24, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 12, | |
| "links": [], | |
| "mode": "markdown", | |
| "title": "", | |
| "transparent": true, | |
| "type": "text" | |
| }, | |
| { | |
| "alert": { | |
| "conditions": [ | |
| { | |
| "evaluator": { | |
| "params": [ | |
| 1 | |
| ], | |
| "type": "lt" | |
| }, | |
| "operator": { | |
| "type": "and" | |
| }, | |
| "query": { | |
| "params": [ | |
| "C", | |
| "15m", | |
| "now" | |
| ] | |
| }, | |
| "reducer": { | |
| "params": [], | |
| "type": "sum" | |
| }, | |
| "type": "query" | |
| } | |
| ], | |
| "executionErrorState": "keep_state", | |
| "frequency": "60s", | |
| "handler": 1, | |
| "message": "No events in token change consumer", | |
| "name": "Token change queue", | |
| "noDataState": "no_data", | |
| "notifications": [] | |
| }, | |
| "aliasColors": { | |
| "Facebook": "#0a50a1", | |
| "Instagram": "#ba43a9", | |
| "LinkedIn": "#e5ac0e", | |
| "Other": "#7eb26d", | |
| "Pinterest": "#bf1b00", | |
| "application.counters.hera.production.mesos.token-flow.consumer-facebook.token-change-consumer.count": "#0a50a1", | |
| "consumer": "#2f575e", | |
| "consumer-facebook": "#0a50a1", | |
| "consumer-instagram": "#ba43a9", | |
| "consumer-linkedin": "#e5ac0e", | |
| "consumer-pinterest": "#bf1b00", | |
| "consumer-twitter": "#65c5db" | |
| }, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "description": "Token change messages by platform.", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 3 | |
| }, | |
| "id": 30, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sideWidth": 230, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [ | |
| { | |
| "alias": "Token change count", | |
| "yaxis": 1 | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "groupByNode(hitcount(application.counters.hera.production.mesos.token-flow.*.token-change-consumer.rate, '$interval'), 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": true, | |
| "op": "lt", | |
| "value": 1 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Token change consumer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": { | |
| "Facebook": "#0a50a1", | |
| "Instagram": "#ba43a9", | |
| "LinkedIn": "#e5ac0e", | |
| "Other": "#7eb26d", | |
| "Pinterest": "#bf1b00", | |
| "application.counters.hera.production.mesos.token-flow.consumer-facebook.token-change-consumer.count": "#0a50a1", | |
| "consumer": "#2f575e", | |
| "consumer-facebook": "#0a50a1", | |
| "consumer-instagram": "#ba43a9", | |
| "consumer-linkedin": "#e5ac0e", | |
| "consumer-pinterest": "#bf1b00", | |
| "consumer-twitter": "#65c5db" | |
| }, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "description": "Token change messages by platform.", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 12 | |
| }, | |
| "id": 74, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sideWidth": 230, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [ | |
| { | |
| "alias": "Token change count", | |
| "yaxis": 1 | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "groupByNode(hitcount(application.counters.hera.production.mesos.token-flow.process-usecase-check-queue.*.rate, '$interval'), 7, 'sum')", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "UseCase recalculation - sending from queue to exchange", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": { | |
| "application": "#e0f9d7", | |
| "consumer": "#2f575e", | |
| "consumer-facebook": "#0a50a1", | |
| "consumer-instagram": "#ba43a9", | |
| "consumer-linkedin": "#e5ac0e", | |
| "hitcount(application, \"1h\")": "#e0f9d7", | |
| "hitcount(consumer, \"1h\")": "#2f575e", | |
| "hitcount(consumer-facebook, \"1h\")": "#0a50a1", | |
| "hitcount(consumer-instagram, \"1h\")": "#ba43a9", | |
| "hitcount(consumer-linkedin, \"1h\")": "#e5ac0e" | |
| }, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 21 | |
| }, | |
| "id": 45, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sideWidth": 230, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refId": "A", | |
| "target": "groupByNode(hitcount(application.counters.hera.*.mesos.token-flow.*.use-case-event-published.rate, '$interval'), 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Events published to percolator", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 30 | |
| }, | |
| "id": 50, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refId": "A", | |
| "target": "groupByNode(removeAboveValue(application.gauges.suite.dev.mesos.suite.hera.event_percolator.token_flow_api.*.delay, 1800000), 9, 'maxSeries')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Event percolator delay", | |
| "tooltip": { | |
| "shared": false, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "alert": { | |
| "conditions": [ | |
| { | |
| "evaluator": { | |
| "params": [ | |
| 30000 | |
| ], | |
| "type": "gt" | |
| }, | |
| "operator": { | |
| "type": "and" | |
| }, | |
| "query": { | |
| "params": [ | |
| "B", | |
| "1m", | |
| "now" | |
| ] | |
| }, | |
| "reducer": { | |
| "params": [], | |
| "type": "avg" | |
| }, | |
| "type": "query" | |
| } | |
| ], | |
| "executionErrorState": "keep_state", | |
| "frequency": "60s", | |
| "handler": 1, | |
| "message": "Token change delay", | |
| "name": "Token changed delay alert", | |
| "noDataState": "keep_state", | |
| "notifications": [] | |
| }, | |
| "aliasColors": { | |
| "consumer": "#2f575e", | |
| "consumer-facebook": "#0a437c", | |
| "consumer-instagram": "#ba43a9", | |
| "consumer-linkedin": "#e5ac0e", | |
| "consumer-twitter": "#70dbed" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "description": "", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 39 | |
| }, | |
| "id": 18, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sideWidth": 230, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.*.token-change-use-case-update-delay, 6, 'maxSeries')" | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": true, | |
| "op": "gt", | |
| "value": 30000 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Token changed delay", | |
| "tooltip": { | |
| "shared": false, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "content": "## Consumer Stats", | |
| "gridPos": { | |
| "h": 3, | |
| "w": 24, | |
| "x": 0, | |
| "y": 48 | |
| }, | |
| "id": 11, | |
| "links": [], | |
| "mode": "markdown", | |
| "title": "", | |
| "transparent": true, | |
| "type": "text" | |
| }, | |
| { | |
| "alert": { | |
| "conditions": [ | |
| { | |
| "evaluator": { | |
| "params": [ | |
| 20000 | |
| ], | |
| "type": "gt" | |
| }, | |
| "operator": { | |
| "type": "and" | |
| }, | |
| "query": { | |
| "params": [ | |
| "B", | |
| "1m", | |
| "now" | |
| ] | |
| }, | |
| "reducer": { | |
| "params": [], | |
| "type": "sum" | |
| }, | |
| "type": "query" | |
| } | |
| ], | |
| "executionErrorState": "alerting", | |
| "frequency": "60s", | |
| "handler": 1, | |
| "message": "Large number of use-case validity changes.\nPossible reasons:\n- New use case definition added\n- Use case definition changed\n- Large account token expiration\n- Bug 🐛", | |
| "name": "🗂 Use Case Find / Store alert", | |
| "noDataState": "keep_state", | |
| "notifications": [] | |
| }, | |
| "aliasColors": { | |
| "store": "#508642", | |
| "store-facebook": "#0a50a1" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 51 | |
| }, | |
| "id": 3, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sideWidth": 230, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasSub(groupByNode(hitcount(application.counters.hera.production.mesos.token-flow.*.use-case-store-use-cases.rate, '$interval'), 6, 'sum'), 'consumer', 'store')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasSub(groupByNode(hitcount(application.counters.hera.production.mesos.token-flow.*.use-case-checker-find-for-token.rate, '$interval'), 6, 'sum'), 'consumer', 'find')" | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": true, | |
| "op": "gt", | |
| "value": 20000 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "🗂 Use Case Find / Store", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 2, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": { | |
| "Merge": "#0a437c", | |
| "Pair": "#508642", | |
| "Remove": "#bf1b00", | |
| "hitcount(application.counters.rd.production.mesos.token-flow-prototype.application.acl-pair.count, \"1h\")": "#508642" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 58 | |
| }, | |
| "id": 1, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": true, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "alias(hitcount(application.counters.rd.production.mesos.token-flow-prototype.application.acl-pair.count, '$interval'), 'Pair (old)')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "alias(hitcount(application.counters.rd.production.mesos.token-flow-prototype.application.user-merge.count, '$interval'), 'Merge (old)')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "alias(hitcount(application.counters.rd.production.mesos.token-flow-prototype.application.user-remove.count, '$interval'), 'Remove (old)')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "D", | |
| "target": "alias(hitcount(application.counters.hera.production.mesos.token-flow.application.acl-pair.count, '$interval'), 'Pair')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "E", | |
| "target": "alias(hitcount(application.counters.hera.production.mesos.token-flow.application.user-merge.count, '$interval'), 'Merge')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "F", | |
| "target": "alias(hitcount(application.counters.hera.production.mesos.token-flow.application.user-remove.count, '$interval'), 'Remove')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "ACL Events", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 65 | |
| }, | |
| "id": 10, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-facebook.*.cpu_user), 10, 6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-facebook.*.cpu_system), 10,6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-facebook.*.cpu_throttled), 10,6, 11, 12)", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU by tasks - Facebook consumer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 72 | |
| }, | |
| "id": 53, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-instagram.*.cpu_user), 10, 6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-instagram.*.cpu_system), 10,6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-instagram.*.cpu_throttled), 10,6, 11, 12)", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU by tasks - Instagram consumer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 79 | |
| }, | |
| "id": 54, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-linkedin.*.cpu_user), 10, 6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-linkedin.*.cpu_system), 10,6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-linkedin.*.cpu_throttled), 10,6, 11, 12)", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU by tasks - LinkedIn consumer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 86 | |
| }, | |
| "id": 55, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-pinterest.*.cpu_user), 10, 6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-pinterest.*.cpu_system), 10,6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-pinterest.*.cpu_throttled), 10,6, 11, 12)", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU by tasks - Pinterest consumer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 93 | |
| }, | |
| "id": 56, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-twitter.*.cpu_user), 10, 6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-twitter.*.cpu_system), 10,6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-twitter.*.cpu_throttled), 10,6, 11, 12)", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU by tasks - Twitter consumer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 100 | |
| }, | |
| "id": 57, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-vkontakte.*.cpu_user), 10, 6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-vkontakte.*.cpu_system), 10,6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.consumer-vkontakte.*.cpu_throttled), 10,6, 11, 12)", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU by tasks - VKontakte consumer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "columns": [], | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 107 | |
| }, | |
| "id": 48, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "Time", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "Time", | |
| "type": "date" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "alias(application.counters.hera.production.mesos.token-flow.consumer.callback-activation-ok.count, 'OK')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "alias(application.counters.hera.production.mesos.token-flow.consumer.callback-activation-rejected.count, 'Rejected')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "alias(application.counters.hera.production.mesos.token-flow.consumer.callback-activation-bad-response.count, 'Bad Response')", | |
| "textEditor": false | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "D", | |
| "target": "alias(application.counters.hera.production.mesos.token-flow.consumer.callback-activation-timeout.count, 'Timeout')", | |
| "textEditor": false | |
| } | |
| ], | |
| "title": "Activations", | |
| "transform": "timeseries_to_columns", | |
| "type": "table" | |
| }, | |
| { | |
| "alert": { | |
| "conditions": [ | |
| { | |
| "evaluator": { | |
| "params": [ | |
| 20 | |
| ], | |
| "type": "gt" | |
| }, | |
| "operator": { | |
| "type": "and" | |
| }, | |
| "query": { | |
| "params": [ | |
| "A", | |
| "15m", | |
| "now" | |
| ] | |
| }, | |
| "reducer": { | |
| "params": [], | |
| "type": "sum" | |
| }, | |
| "type": "query" | |
| } | |
| ], | |
| "executionErrorState": "alerting", | |
| "frequency": "5m", | |
| "handler": 1, | |
| "message": "Registered token changes claimed to be OK (=without change), but causing changes in use cases.", | |
| "name": "Token checks incorrectly OK from checker alert", | |
| "noDataState": "keep_state", | |
| "notifications": [] | |
| }, | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 107 | |
| }, | |
| "id": 65, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refId": "A", | |
| "target": "aliasByNode(summarize(application.counters.hera.production.mesos.token-flow.*.use-case-calculation-incorrectly-ok-token-changes.count, '15m', 'sum'), 6)", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": true, | |
| "op": "gt", | |
| "value": 20 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Token checks incorrectly OK from checker", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "alert": { | |
| "conditions": [ | |
| { | |
| "evaluator": { | |
| "params": [ | |
| 0 | |
| ], | |
| "type": "gt" | |
| }, | |
| "operator": { | |
| "type": "and" | |
| }, | |
| "query": { | |
| "params": [ | |
| "A", | |
| "1m", | |
| "now" | |
| ] | |
| }, | |
| "reducer": { | |
| "params": [], | |
| "type": "avg" | |
| }, | |
| "type": "query" | |
| }, | |
| { | |
| "evaluator": { | |
| "params": [ | |
| 0 | |
| ], | |
| "type": "gt" | |
| }, | |
| "operator": { | |
| "type": "or" | |
| }, | |
| "query": { | |
| "params": [ | |
| "B", | |
| "1m", | |
| "now" | |
| ] | |
| }, | |
| "reducer": { | |
| "params": [], | |
| "type": "avg" | |
| }, | |
| "type": "query" | |
| } | |
| ], | |
| "executionErrorState": "keep_state", | |
| "frequency": "60s", | |
| "handler": 1, | |
| "message": "Timeout/Error from TokenFlow endpoint", | |
| "name": "Endpoint response alert", | |
| "noDataState": "no_data", | |
| "notifications": [ | |
| { | |
| "id": 4 | |
| } | |
| ] | |
| }, | |
| "aliasColors": { | |
| "Error": "#bf1b00", | |
| "Timeout": "#ef843c", | |
| "error": "#bf1b00" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 116 | |
| }, | |
| "id": 76, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "alias(groupByNode(application.counters.sbks.hera.requests.endpoints.timeout.POST_*_tf_*.*.count, 6, 'sum'), 'Timeout')", | |
| "textEditor": false | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "alias(groupByNode(application.counters.sbks.hera.requests.endpoints.error.POST_*_tf_*.*.count, 6, 'sum'), 'Error')", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": true, | |
| "op": "gt", | |
| "value": 0 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Endpoint response", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 125 | |
| }, | |
| "id": 28, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "groupByNode(application.timers.hera.production.mesos.token-flow.*.use-case-calculation-time-consumer.median, 6, 'sum')", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Use case computation time (buffer chunk)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "description": "", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 134 | |
| }, | |
| "id": 34, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.*.use-case-calculation-account-use-cases-count, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": false, | |
| "op": "gt", | |
| "value": 10000 | |
| }, | |
| { | |
| "colorMode": "warning", | |
| "fill": true, | |
| "line": false, | |
| "op": "gt", | |
| "value": 5000 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Number of account use-cases during computation", | |
| "tooltip": { | |
| "shared": false, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "none", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "description": "", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 143 | |
| }, | |
| "id": 31, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "hideEmpty": false, | |
| "hideZero": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 0.5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": true, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.*.consumer-buffer, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Token change consumer buffer", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "none", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": "0", | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 24, | |
| "x": 0, | |
| "y": 152 | |
| }, | |
| "id": 52, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "groupByNode(application.timers.hera.production.mesos.token-flow.*.token-changes-processing-time.mean, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Token change messages processing time (bulk chunk)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 160 | |
| }, | |
| "id": 72, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "groupByNode(application.timers.hera.production.mesos.token-flow.*.changed-messages-time-consumer.mean, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Changed messages processing time", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 160 | |
| }, | |
| "id": 73, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "groupByNode(application.timers.hera.production.mesos.token-flow.*.ok-messages-time-consumer.mean, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Unchanged messages (ok messages) processing time", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "content": "## Application Stats", | |
| "gridPos": { | |
| "h": 3, | |
| "w": 24, | |
| "x": 0, | |
| "y": 169 | |
| }, | |
| "id": 13, | |
| "links": [], | |
| "mode": "markdown", | |
| "title": "", | |
| "transparent": true, | |
| "type": "text" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "editable": true, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 172 | |
| }, | |
| "id": 14, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "hideEmpty": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.application.*.cpu_user), 10, 6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.application.*.cpu_system), 10,6, 11, 12)", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "aliasByNode(nonNegativeDerivative(application.gauges.sbks.hera.mesos.servers.*.hera.token-flow.production.application.*.cpu_throttled), 10,6, 11, 12)", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU by tasks", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "content": "## UseCase calculation", | |
| "gridPos": { | |
| "h": 3, | |
| "w": 24, | |
| "x": 0, | |
| "y": 179 | |
| }, | |
| "id": 15, | |
| "links": [], | |
| "mode": "markdown", | |
| "title": "", | |
| "transparent": true, | |
| "type": "text" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 182 | |
| }, | |
| "id": 16, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": true, | |
| "show": true, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.*.use-case-calculation-account-use-cases-count, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Panel Title", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 189 | |
| }, | |
| "id": 33, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": false, | |
| "max": true, | |
| "min": true, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "groupByNode(application.timers.hera.production.mesos.token-flow.*.use-case-calculation-time-service.median, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Calculation of new use-cases", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 196 | |
| }, | |
| "id": 32, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": false, | |
| "max": true, | |
| "min": true, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "groupByNode(application.timers.hera.production.mesos.token-flow.*.use-case-for-save-calculation-time-service.median, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Calculation of use-cases for save", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 203 | |
| }, | |
| "id": 67, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": false, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "sortByName(groupByNodes(application.counters.hera.production.mesos.token-flow.*.use_case_validity.*.valid.count, 'sum', 8))", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "VALID - use-case changes (invalid -> valid)", | |
| "tooltip": { | |
| "shared": false, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "series", | |
| "name": null, | |
| "show": false, | |
| "values": [ | |
| "total" | |
| ] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 203 | |
| }, | |
| "id": 68, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": false, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "sortByName(groupByNodes(application.counters.hera.production.mesos.token-flow.*.use_case_validity.*.invalid.count, 'sum', 8))", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "INVALID - use-case changes (valid -> invalid)", | |
| "tooltip": { | |
| "shared": false, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "series", | |
| "name": null, | |
| "show": false, | |
| "values": [ | |
| "total" | |
| ] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 212 | |
| }, | |
| "id": 69, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": false, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "sortByName(groupByNodes(application.counters.hera.production.mesos.token-flow.*.use_case_activation.*.activated.count, 'sum', 8))", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "ACTIVATED - use-case changes (deactivated -> activated)", | |
| "tooltip": { | |
| "shared": false, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "series", | |
| "name": null, | |
| "show": false, | |
| "values": [ | |
| "total" | |
| ] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 212 | |
| }, | |
| "id": 70, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": false, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "sortByName(groupByNodes(application.counters.hera.production.mesos.token-flow.*.use_case_activation.*.deactivated.count, 'sum', 8))", | |
| "textEditor": false | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "DEACTIVATED - use-case changes (activated -> deactivated)", | |
| "tooltip": { | |
| "shared": false, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "series", | |
| "name": null, | |
| "show": false, | |
| "values": [ | |
| "total" | |
| ] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "content": "## Expired use cases validation (Coverage)\n\nSuite events vs Token Flow events", | |
| "gridPos": { | |
| "h": 3, | |
| "w": 24, | |
| "x": 0, | |
| "y": 221 | |
| }, | |
| "id": 26, | |
| "links": [], | |
| "mode": "markdown", | |
| "title": "Panel Title", | |
| "transparent": true, | |
| "type": "text" | |
| }, | |
| { | |
| "aliasColors": { | |
| "Confirmed": "#7eb26d", | |
| "Suite-api events": "#e0752d", | |
| "Token-flow events": "#82b5d8" | |
| }, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "description": "", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 224 | |
| }, | |
| "id": 20, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.token-flow.count, '24h', 'sum', false), 'Token-flow events')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.suite-api.count, '24h', 'sum', false), 'Suite-api events')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.confirmed.count, '24h', 'sum', false), 'Confirmed')", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Expired use-cases", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 233 | |
| }, | |
| "id": 24, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": true, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.unconfirmed.already-invalid.count, '24h', 'sum', false), 'Already invalid')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.unconfirmed.no-identity.count, '24h', 'sum', false), 'No identity')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.unconfirmed.not-verified.count, '24h', 'sum', false), 'Not verified')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "D", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.unconfirmed.other-collection.count, '24h', 'sum', false), 'Other collection')", | |
| "textEditor": true | |
| }, | |
| { | |
| "hide": false, | |
| "refCount": 0, | |
| "refId": "F", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.expired-use-cases-validation.expired-use-cases.unconfirmed.no-parent-id.count, '24h', 'sum'), 'No parent id')", | |
| "textEditor": true | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Not verified - reason", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "content": "## Number of outdated and never checked tokens\n\nTokens in token flow that are not up-to-date", | |
| "description": "", | |
| "gridPos": { | |
| "h": 3, | |
| "w": 24, | |
| "x": 0, | |
| "y": 242 | |
| }, | |
| "id": 39, | |
| "links": [], | |
| "mode": "markdown", | |
| "title": "", | |
| "type": "text" | |
| }, | |
| { | |
| "aliasColors": { | |
| "Facebook": "#1f78c1" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 245 | |
| }, | |
| "id": 36, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.token-last-hard-check.outdated-tokens-check.facebook.count, '1h', 'sum', 'false'), 'Facebook')", | |
| "textEditor": true | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.token-last-hard-check.outdated-tokens-check, '1h', 'sum', false), 'Google')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.token-last-hard-check.outdated-tokens-check, '1h', 'sum', false), 'Instagram')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "D", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.token-last-hard-check.outdated-tokens-check, '1h', 'sum', false), 'Linkedin')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "I", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.token-last-hard-check.outdated-tokens-check, '1h', 'sum', false), 'Pinterest')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "K", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.token-last-hard-check.outdated-tokens-check, '1h', 'sum', false), 'Twitter')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Outdated tokens", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": { | |
| "Facebook": "#1f78c1", | |
| "Google ": "#e24d42", | |
| "Instagram": "#d683ce", | |
| "Linkedin": "#5195ce", | |
| "Pintrest": "#890f02", | |
| "Twitter ": "#6ed0e0" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 245 | |
| }, | |
| "id": 37, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "L", | |
| "target": "groupByNode(summarize(application.counters.hera.production.mesos.token-flow.token-last-hard-check.never-checked-tokens.*.count, '1h', 'sum', false), 8, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Never check tokens", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 254 | |
| }, | |
| "id": 41, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.verify-token-existence.outdated-tokens.token-flow.count, '1h', 'sum', 'true'), 'Outdated - token flow')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "B", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.verify-token-existence.outdated-tokens.token-pool.count, '1h', 'sum', 'true'), 'Outdated - token-pool')" | |
| }, | |
| { | |
| "refCount": 0, | |
| "refId": "C", | |
| "target": "alias(summarize(application.counters.hera.production.mesos.token-flow.verify-token-existence.removed-from-token-flow.count, '1h', 'sum', true), 'Removed from token flow')" | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "warning", | |
| "fill": false, | |
| "line": true, | |
| "op": "gt", | |
| "value": 1000 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Verify token existence", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "content": "## DB Stats", | |
| "gridPos": { | |
| "h": 3, | |
| "w": 24, | |
| "x": 0, | |
| "y": 263 | |
| }, | |
| "id": 58, | |
| "links": [], | |
| "mode": "markdown", | |
| "title": "", | |
| "transparent": true, | |
| "type": "text" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 266 | |
| }, | |
| "id": 43, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": false, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refCount": 0, | |
| "refId": "A", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.*.db-query-time, 6, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "DB query time", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "ms", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 275 | |
| }, | |
| "id": 60, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 1, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refId": "A", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.monitor-size-of-db-tables.size-of-db-tables.*.index-size, 8, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Indexes size", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "label": null, | |
| "logBase": 2, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 275 | |
| }, | |
| "id": 61, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 1, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refId": "A", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.monitor-size-of-db-tables.size-of-db-tables.*.table-size, 8, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Tables size", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "label": null, | |
| "logBase": 2, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 284 | |
| }, | |
| "id": 62, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 1, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refId": "A", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.monitor-size-of-db-tables.size-of-db-tables.*.total-size, 8, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Total size (indexes + tables size)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "label": null, | |
| "logBase": 2, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_GRAPHITE-PROXY}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 284 | |
| }, | |
| "id": 63, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 1, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "refId": "A", | |
| "target": "groupByNode(application.gauges.hera.production.mesos.token-flow.monitor-size-of-db-tables.size-of-db-tables.*.rows-count, 8, 'sum')" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Rows count", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 2, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| } | |
| ], | |
| "refresh": false, | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [], | |
| "templating": { | |
| "list": [ | |
| { | |
| "auto": true, | |
| "auto_count": 30, | |
| "auto_min": "10s", | |
| "current": { | |
| "text": "auto", | |
| "value": "$__auto_interval_interval" | |
| }, | |
| "hide": 0, | |
| "label": null, | |
| "name": "interval", | |
| "options": [ | |
| { | |
| "selected": true, | |
| "text": "auto", | |
| "value": "$__auto_interval_interval" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1m", | |
| "value": "1m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30m", | |
| "value": "30m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1h", | |
| "value": "1h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "6h", | |
| "value": "6h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "12h", | |
| "value": "12h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1d", | |
| "value": "1d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "7d", | |
| "value": "7d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "14d", | |
| "value": "14d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30d", | |
| "value": "30d" | |
| } | |
| ], | |
| "query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", | |
| "refresh": 2, | |
| "type": "interval" | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "now/d", | |
| "to": "now/d" | |
| }, | |
| "timepicker": { | |
| "refresh_intervals": [ | |
| "5s", | |
| "10s", | |
| "30s", | |
| "1m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ], | |
| "time_options": [ | |
| "5m", | |
| "15m", | |
| "1h", | |
| "6h", | |
| "12h", | |
| "24h", | |
| "2d", | |
| "7d", | |
| "30d" | |
| ] | |
| }, | |
| "timezone": "", | |
| "title": "Token Flow", | |
| "uid": "001784710", | |
| "version": 174 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment