|
|
@@ -0,0 +1,2235 @@
|
|
|
+{
|
|
|
+ "__inputs": [
|
|
|
+ {
|
|
|
+ "name": "DS_GRAPHITE",
|
|
|
+ "label": "graphite",
|
|
|
+ "description": "",
|
|
|
+ "type": "datasource",
|
|
|
+ "pluginId": "graphite",
|
|
|
+ "pluginName": "Graphite"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "__requires": [
|
|
|
+ {
|
|
|
+ "type": "panel",
|
|
|
+ "id": "graph",
|
|
|
+ "name": "Graph",
|
|
|
+ "version": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "grafana",
|
|
|
+ "id": "grafana",
|
|
|
+ "name": "Grafana",
|
|
|
+ "version": "3.1.0"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "datasource",
|
|
|
+ "id": "graphite",
|
|
|
+ "name": "Graphite",
|
|
|
+ "version": "1.0.0"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "id": null,
|
|
|
+ "title": "Dashboard with many alerts",
|
|
|
+ "tags": [],
|
|
|
+ "style": "dark",
|
|
|
+ "timezone": "browser",
|
|
|
+ "editable": true,
|
|
|
+ "hideControls": false,
|
|
|
+ "sharedCrosshair": false,
|
|
|
+ "rows": [
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "editable": true,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "alert": {
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "evaluator": {
|
|
|
+ "params": [
|
|
|
+ 30
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "sum"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Critical alert panel",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {},
|
|
|
+ "id": 1,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 30
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 30
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "sum"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Critical alert panel",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {},
|
|
|
+ "id": 5,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 30
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 30
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "sum"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Critical alert panel",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {},
|
|
|
+ "id": 6,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 30
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 30
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "sum"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Critical alert panel",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {},
|
|
|
+ "id": 8,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 30
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "editable": true,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "alert": {
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "evaluator": {
|
|
|
+ "params": [
|
|
|
+ 20
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Warning panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "warning"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 2,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 20
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 20
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Warning panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "warning"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 3,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 20
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 20
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Warning panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "warning"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 4,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 20
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 20
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Warning panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "warning"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 7,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 20
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "New row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "editable": true,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "alert": {
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "evaluator": {
|
|
|
+ "params": [
|
|
|
+ 50
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "10s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Fast Critical panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 9,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 50
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 50
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "10s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Fast Critical panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 10,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 50
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 50
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "10s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Fast Critical panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 11,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 50
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": [
|
|
|
+ 50
|
|
|
+ ],
|
|
|
+ "type": "gt"
|
|
|
+ },
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "params": [],
|
|
|
+ "type": "avg"
|
|
|
+ },
|
|
|
+ "type": "query"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "enabled": true,
|
|
|
+ "frequency": "10s",
|
|
|
+ "handler": 1,
|
|
|
+ "name": "Fast Critical panel alert",
|
|
|
+ "notifications": [],
|
|
|
+ "severity": "critical"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 12,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fill": true,
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "line": true,
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)",
|
|
|
+ "op": "gt",
|
|
|
+ "value": 50
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Critical panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "New row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "editable": true,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "alert": {
|
|
|
+ "enabled": true,
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "type": "query",
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "type": "avg",
|
|
|
+ "params": []
|
|
|
+ },
|
|
|
+ "evaluator": {
|
|
|
+ "type": "gt",
|
|
|
+ "params": [
|
|
|
+ 10
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "severity": "warning",
|
|
|
+ "frequency": "1s",
|
|
|
+ "handler": 1,
|
|
|
+ "notifications": [],
|
|
|
+ "name": "Fast Warning panel alert"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 13,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "value": 10,
|
|
|
+ "op": "gt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": {
|
|
|
+ "enabled": true,
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "type": "query",
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "type": "avg",
|
|
|
+ "params": []
|
|
|
+ },
|
|
|
+ "evaluator": {
|
|
|
+ "type": "gt",
|
|
|
+ "params": [
|
|
|
+ 10
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "severity": "warning",
|
|
|
+ "frequency": "1s",
|
|
|
+ "handler": 1,
|
|
|
+ "notifications": [],
|
|
|
+ "name": "Fast Warning panel alert"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 14,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "value": 10,
|
|
|
+ "op": "gt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": {
|
|
|
+ "enabled": true,
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "type": "query",
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "type": "avg",
|
|
|
+ "params": []
|
|
|
+ },
|
|
|
+ "evaluator": {
|
|
|
+ "type": "gt",
|
|
|
+ "params": [
|
|
|
+ 10
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "severity": "warning",
|
|
|
+ "frequency": "1s",
|
|
|
+ "handler": 1,
|
|
|
+ "notifications": [],
|
|
|
+ "name": "Fast Warning panel alert"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 15,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "value": 10,
|
|
|
+ "op": "gt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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": {
|
|
|
+ "enabled": true,
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "type": "query",
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "type": "avg",
|
|
|
+ "params": []
|
|
|
+ },
|
|
|
+ "evaluator": {
|
|
|
+ "type": "gt",
|
|
|
+ "params": [
|
|
|
+ 10
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "severity": "warning",
|
|
|
+ "frequency": "1s",
|
|
|
+ "handler": 1,
|
|
|
+ "notifications": [],
|
|
|
+ "name": "Fast Warning panel alert"
|
|
|
+ },
|
|
|
+ "alerting": {},
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "id": 16,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "refId": "A",
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "value": 10,
|
|
|
+ "op": "gt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "warning",
|
|
|
+ "fillColor": "rgba(235, 138, 14, 0.12)",
|
|
|
+ "lineColor": "rgba(247, 149, 32, 0.60)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Fast Warning panel",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "New row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "title": "New row",
|
|
|
+ "height": "250px",
|
|
|
+ "editable": true,
|
|
|
+ "collapse": false,
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "title": "Alert below value",
|
|
|
+ "error": false,
|
|
|
+ "span": 3,
|
|
|
+ "editable": true,
|
|
|
+ "type": "graph",
|
|
|
+ "isNew": true,
|
|
|
+ "id": 17,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "renderer": "flot",
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "label": null,
|
|
|
+ "show": true,
|
|
|
+ "logBase": 1,
|
|
|
+ "min": null,
|
|
|
+ "max": null,
|
|
|
+ "format": "short"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": null,
|
|
|
+ "show": true,
|
|
|
+ "logBase": 1,
|
|
|
+ "min": null,
|
|
|
+ "max": null,
|
|
|
+ "format": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "alert": {
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "type": "query",
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "type": "avg",
|
|
|
+ "params": []
|
|
|
+ },
|
|
|
+ "evaluator": {
|
|
|
+ "type": "lt",
|
|
|
+ "params": [
|
|
|
+ 20
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "severity": "critical",
|
|
|
+ "frequency": "60s",
|
|
|
+ "handler": 1,
|
|
|
+ "notifications": [],
|
|
|
+ "name": "Alert below value",
|
|
|
+ "enabled": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "fill": 1,
|
|
|
+ "linewidth": 2,
|
|
|
+ "points": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "bars": false,
|
|
|
+ "stack": false,
|
|
|
+ "percentage": false,
|
|
|
+ "legend": {
|
|
|
+ "show": true,
|
|
|
+ "values": false,
|
|
|
+ "min": false,
|
|
|
+ "max": false,
|
|
|
+ "current": false,
|
|
|
+ "total": false,
|
|
|
+ "avg": false
|
|
|
+ },
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "steppedLine": false,
|
|
|
+ "tooltip": {
|
|
|
+ "value_type": "cumulative",
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "msResolution": false
|
|
|
+ },
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "aliasColors": {},
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "alerting": {},
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "value": 20,
|
|
|
+ "op": "lt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "links": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "title": "Alert is outside range",
|
|
|
+ "error": false,
|
|
|
+ "span": 3,
|
|
|
+ "editable": true,
|
|
|
+ "type": "graph",
|
|
|
+ "isNew": true,
|
|
|
+ "id": 18,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "renderer": "flot",
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "label": null,
|
|
|
+ "show": true,
|
|
|
+ "logBase": 1,
|
|
|
+ "min": null,
|
|
|
+ "max": null,
|
|
|
+ "format": "short"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": null,
|
|
|
+ "show": true,
|
|
|
+ "logBase": 1,
|
|
|
+ "min": null,
|
|
|
+ "max": null,
|
|
|
+ "format": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "alert": {
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "type": "query",
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "type": "avg",
|
|
|
+ "params": []
|
|
|
+ },
|
|
|
+ "evaluator": {
|
|
|
+ "type": "outside_range",
|
|
|
+ "params": [
|
|
|
+ 10,
|
|
|
+ 80
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "severity": "critical",
|
|
|
+ "frequency": "10s",
|
|
|
+ "handler": 1,
|
|
|
+ "notifications": [],
|
|
|
+ "name": "Alert is outside range",
|
|
|
+ "enabled": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "fill": 1,
|
|
|
+ "linewidth": 2,
|
|
|
+ "points": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "bars": false,
|
|
|
+ "stack": false,
|
|
|
+ "percentage": false,
|
|
|
+ "legend": {
|
|
|
+ "show": true,
|
|
|
+ "values": false,
|
|
|
+ "min": false,
|
|
|
+ "max": false,
|
|
|
+ "current": false,
|
|
|
+ "total": false,
|
|
|
+ "avg": false
|
|
|
+ },
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "steppedLine": false,
|
|
|
+ "tooltip": {
|
|
|
+ "value_type": "cumulative",
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "msResolution": false
|
|
|
+ },
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "aliasColors": {},
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "alerting": {},
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "value": 10,
|
|
|
+ "op": "lt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "value": 80,
|
|
|
+ "op": "gt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "links": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "title": "Alert is within range",
|
|
|
+ "error": false,
|
|
|
+ "span": 3,
|
|
|
+ "editable": true,
|
|
|
+ "type": "graph",
|
|
|
+ "isNew": true,
|
|
|
+ "id": 19,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "target": "aliasByNode(statsd.fakesite.counters.session_start.*.count, 4)",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "datasource": "${DS_GRAPHITE}",
|
|
|
+ "renderer": "flot",
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "label": null,
|
|
|
+ "show": true,
|
|
|
+ "logBase": 1,
|
|
|
+ "min": null,
|
|
|
+ "max": null,
|
|
|
+ "format": "short"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": null,
|
|
|
+ "show": true,
|
|
|
+ "logBase": 1,
|
|
|
+ "min": null,
|
|
|
+ "max": null,
|
|
|
+ "format": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "xaxis": {
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ "alert": {
|
|
|
+ "conditions": [
|
|
|
+ {
|
|
|
+ "type": "query",
|
|
|
+ "query": {
|
|
|
+ "params": [
|
|
|
+ "A",
|
|
|
+ "5m",
|
|
|
+ "now"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "reducer": {
|
|
|
+ "type": "avg",
|
|
|
+ "params": []
|
|
|
+ },
|
|
|
+ "evaluator": {
|
|
|
+ "type": "within_range",
|
|
|
+ "params": [
|
|
|
+ 60,
|
|
|
+ 80
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "severity": "critical",
|
|
|
+ "frequency": "10s",
|
|
|
+ "handler": 1,
|
|
|
+ "notifications": [],
|
|
|
+ "name": "Alert is within range",
|
|
|
+ "enabled": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "fill": 1,
|
|
|
+ "linewidth": 2,
|
|
|
+ "points": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "bars": false,
|
|
|
+ "stack": false,
|
|
|
+ "percentage": false,
|
|
|
+ "legend": {
|
|
|
+ "show": true,
|
|
|
+ "values": false,
|
|
|
+ "min": false,
|
|
|
+ "max": false,
|
|
|
+ "current": false,
|
|
|
+ "total": false,
|
|
|
+ "avg": false
|
|
|
+ },
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "steppedLine": false,
|
|
|
+ "tooltip": {
|
|
|
+ "value_type": "cumulative",
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "msResolution": false
|
|
|
+ },
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "aliasColors": {},
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "alerting": {},
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "value": 60,
|
|
|
+ "op": "gt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "value": 80,
|
|
|
+ "op": "lt",
|
|
|
+ "fill": true,
|
|
|
+ "line": true,
|
|
|
+ "colorMode": "critical",
|
|
|
+ "fillColor": "rgba(234, 112, 112, 0.12)",
|
|
|
+ "lineColor": "rgba(237, 46, 24, 0.60)"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "links": []
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "time": {
|
|
|
+ "from": "now-6h",
|
|
|
+ "to": "now"
|
|
|
+ },
|
|
|
+ "timepicker": {
|
|
|
+ "refresh_intervals": [
|
|
|
+ "5s",
|
|
|
+ "10s",
|
|
|
+ "30s",
|
|
|
+ "1m",
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "30m",
|
|
|
+ "1h",
|
|
|
+ "2h",
|
|
|
+ "1d"
|
|
|
+ ],
|
|
|
+ "time_options": [
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "1h",
|
|
|
+ "6h",
|
|
|
+ "12h",
|
|
|
+ "24h",
|
|
|
+ "2d",
|
|
|
+ "7d",
|
|
|
+ "30d"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "templating": {
|
|
|
+ "list": []
|
|
|
+ },
|
|
|
+ "annotations": {
|
|
|
+ "list": []
|
|
|
+ },
|
|
|
+ "schemaVersion": 13,
|
|
|
+ "version": 50,
|
|
|
+ "links": [],
|
|
|
+ "gnetId": null
|
|
|
+}
|