| { |
| "annotations": { |
| "list": [ |
| { |
| "builtIn": 1, |
| "datasource": "-- Grafana --", |
| "enable": true, |
| "hide": true, |
| "iconColor": "rgba(0, 211, 255, 1)", |
| "name": "Annotations & Alerts", |
| "type": "dashboard" |
| } |
| ] |
| }, |
| "editable": true, |
| "gnetId": null, |
| "graphTooltip": 0, |
| "iteration": 1615242482672, |
| "links": [], |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "ace-menlo", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 6, |
| "w": 12, |
| "x": 0, |
| "y": 0 |
| }, |
| "hiddenSeries": false, |
| "id": 4, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "nullPointMode": "null", |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(ping_average_response_ms{namespace=\"tost\"}) by (url)", |
| "interval": "", |
| "legendFormat": "{{ url }} ", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(ping_maximum_response_ms{namespace=\"tost\"}) by (url)", |
| "interval": "", |
| "legendFormat": "{{ url }} ", |
| "refId": "B" |
| }, |
| { |
| "expr": "sum(ping_minimum_response_ms{namespace=\"tost\"}) by (url)", |
| "interval": "", |
| "legendFormat": "{{ url }} ", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "Ping Response Time (MS)", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:59", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:60", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "ace-menlo", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 6, |
| "w": 12, |
| "x": 12, |
| "y": 0 |
| }, |
| "hiddenSeries": false, |
| "id": 2, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "nullPointMode": "null", |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(ping_percent_packet_loss{namespace=\"tost\"}) by (url)", |
| "interval": "", |
| "legendFormat": "{{ url }} ", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "Ping packet loss (%)", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:22", |
| "format": "percent", |
| "label": null, |
| "logBase": 1, |
| "max": "100", |
| "min": "0", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:23", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "$es_datasource", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": { |
| "align": null |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 5, |
| "w": 12, |
| "x": 0, |
| "y": 6 |
| }, |
| "hiddenSeries": false, |
| "id": 6, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": false, |
| "min": false, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "nullPointMode": "null", |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeat": "pod", |
| "repeatDirection": "v", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": true, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "bucketAggs": [ |
| { |
| "$$hashKey": "object:3957", |
| "fake": true, |
| "field": "kubernetes.pod_name.keyword", |
| "id": "3", |
| "settings": { |
| "min_doc_count": "1", |
| "order": "desc", |
| "orderBy": "_term", |
| "size": "0" |
| }, |
| "type": "terms" |
| }, |
| { |
| "$$hashKey": "object:195", |
| "field": "@timestamp", |
| "id": "2", |
| "settings": { |
| "interval": "1m", |
| "min_doc_count": "0", |
| "trimEdges": 0 |
| }, |
| "type": "date_histogram" |
| } |
| ], |
| "metrics": [ |
| { |
| "$$hashKey": "object:193", |
| "field": "select field", |
| "id": "1", |
| "meta": {}, |
| "settings": {}, |
| "type": "count" |
| } |
| ], |
| "query": "kubernetes.namespace_name.keyword:$es_namespace", |
| "refId": "A", |
| "timeField": "@timestamp" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "Namespace $es_namespace: Log Messages Per Minute", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "transformations": [], |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:875", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:876", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "$es_datasource", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 5, |
| "w": 12, |
| "x": 12, |
| "y": 6 |
| }, |
| "hiddenSeries": false, |
| "id": 8, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "nullPointMode": "null", |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "v", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": true, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "bucketAggs": [ |
| { |
| "$$hashKey": "object:191", |
| "fake": true, |
| "field": "kubernetes.container_name.keyword", |
| "id": "3", |
| "settings": { |
| "min_doc_count": "1", |
| "order": "desc", |
| "orderBy": "_term", |
| "size": "0" |
| }, |
| "type": "terms" |
| }, |
| { |
| "$$hashKey": "object:195", |
| "field": "@timestamp", |
| "id": "2", |
| "settings": { |
| "interval": "1m", |
| "min_doc_count": "0", |
| "trimEdges": 0 |
| }, |
| "type": "date_histogram" |
| } |
| ], |
| "metrics": [ |
| { |
| "$$hashKey": "object:193", |
| "field": "select field", |
| "id": "1", |
| "type": "count" |
| } |
| ], |
| "query": "kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)", |
| "refId": "A", |
| "timeField": "@timestamp" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "Pod $es_pod: Log Messages per Minute", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:171", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:172", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "datasource": "$es_datasource", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": { |
| "align": null |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [ |
| { |
| "matcher": { |
| "id": "byName", |
| "options": "_source" |
| }, |
| "properties": [ |
| { |
| "id": "custom.width", |
| "value": 218 |
| } |
| ] |
| }, |
| { |
| "matcher": { |
| "id": "byName", |
| "options": "kubernetes.container_hash" |
| }, |
| "properties": [ |
| { |
| "id": "custom.width", |
| "value": 235 |
| } |
| ] |
| }, |
| { |
| "matcher": { |
| "id": "byName", |
| "options": "kubernetes.container_image" |
| }, |
| "properties": [ |
| { |
| "id": "custom.width", |
| "value": 178 |
| } |
| ] |
| }, |
| { |
| "matcher": { |
| "id": "byName", |
| "options": "kubernetes.labels.release" |
| }, |
| "properties": [ |
| { |
| "id": "custom.width", |
| "value": 168 |
| } |
| ] |
| } |
| ] |
| }, |
| "gridPos": { |
| "h": 14, |
| "w": 24, |
| "x": 0, |
| "y": 11 |
| }, |
| "id": 10, |
| "options": { |
| "showLabels": false, |
| "showTime": true, |
| "sortOrder": "Descending", |
| "wrapLogMessage": false |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "v", |
| "targets": [ |
| { |
| "bucketAggs": [ |
| { |
| "$$hashKey": "object:381", |
| "field": "@timestamp", |
| "id": "2", |
| "settings": { |
| "interval": "auto", |
| "min_doc_count": 0, |
| "trimEdges": 0 |
| }, |
| "type": "date_histogram" |
| } |
| ], |
| "metrics": [ |
| { |
| "$$hashKey": "object:211", |
| "field": "select field", |
| "id": "1", |
| "meta": {}, |
| "settings": {}, |
| "type": "logs" |
| } |
| ], |
| "query": "kubernetes.container_name.keyword:$es_container AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)", |
| "refId": "A", |
| "timeField": "@timestamp" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "$es_pod Logs ($es_container)", |
| "transparent": true, |
| "type": "logs" |
| } |
| ], |
| "schemaVersion": 26, |
| "style": "dark", |
| "tags": [], |
| "templating": { |
| "list": [ |
| { |
| "current": { |
| "selected": false, |
| "text": "ace-menlo-es", |
| "value": "ace-menlo-es" |
| }, |
| "hide": 2, |
| "includeAll": false, |
| "label": "Datasource", |
| "multi": false, |
| "name": "es_datasource", |
| "options": [], |
| "query": "elasticsearch", |
| "refresh": 1, |
| "regex": "ace-menlo-es", |
| "skipUrlSync": false, |
| "type": "datasource" |
| }, |
| { |
| "current": { |
| "selected": true, |
| "text": "tost", |
| "value": "tost" |
| }, |
| "hide": 2, |
| "label": null, |
| "name": "es_namespace", |
| "options": [ |
| { |
| "selected": true, |
| "text": "tost", |
| "value": "tost" |
| } |
| ], |
| "query": "tost", |
| "skipUrlSync": false, |
| "type": "constant" |
| }, |
| { |
| "allValue": "stratum*", |
| "current": { |
| "selected": false, |
| "text": "onos-tost-onos-classic-1", |
| "value": "onos-tost-onos-classic-1" |
| }, |
| "datasource": "$es_datasource", |
| "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}", |
| "hide": 0, |
| "includeAll": false, |
| "label": "Pod", |
| "multi": false, |
| "name": "es_pod", |
| "options": [], |
| "query": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}", |
| "refresh": 2, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": null, |
| "current": { |
| "selected": false, |
| "text": [ |
| "onos-classic" |
| ], |
| "value": [ |
| "onos-classic" |
| ] |
| }, |
| "datasource": "$es_datasource", |
| "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t", |
| "hide": 0, |
| "includeAll": true, |
| "label": "Container", |
| "multi": true, |
| "name": "es_container", |
| "options": [], |
| "query": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t", |
| "refresh": 2, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": "null OR *", |
| "current": { |
| "selected": false, |
| "text": [ |
| "ERROR" |
| ], |
| "value": [ |
| "ERROR" |
| ] |
| }, |
| "datasource": "$es_datasource", |
| "definition": "{\"find\": \"terms\", \"field\": \"logLevel.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.container_name.keyword:$es_container\"}\t", |
| "hide": 0, |
| "includeAll": true, |
| "label": "Log Level", |
| "multi": true, |
| "name": "es_loglevel", |
| "options": [], |
| "query": "{\"find\": \"terms\", \"field\": \"logLevel.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.container_name.keyword:$es_container\"}\t", |
| "refresh": 2, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-24h", |
| "to": "now" |
| }, |
| "timepicker": { |
| "refresh_intervals": [ |
| "5s", |
| "10s", |
| "30s", |
| "1m", |
| "5m", |
| "15m", |
| "30m", |
| "1h", |
| "2h", |
| "1d" |
| ] |
| }, |
| "timezone": "", |
| "title": "TOST Metrics", |
| "uid": "fVcZZm8Gk", |
| "version": 13 |
| } |