diff --git a/grafana-dashboards/ipfs-elastic-provider/alerts.json b/grafana-dashboards/ipfs-elastic-provider/alerts.json new file mode 100644 index 00000000..e85d0453 --- /dev/null +++ b/grafana-dashboards/ipfs-elastic-provider/alerts.json @@ -0,0 +1,2164 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 68, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "gridPos": { + "h": 16, + "w": 7, + "x": 0, + "y": 0 + }, + "id": 16, + "options": { + "alertInstanceLabelFilter": "", + "alertName": "", + "dashboardAlerts": false, + "dashboardTitle": "", + "groupBy": [], + "groupMode": "default", + "maxItems": 100, + "showOptions": "current", + "sortOrder": 3, + "stateFilter": { + "alerting": false, + "error": true, + "execution_error": false, + "firing": true, + "noData": false, + "no_data": false, + "normal": false, + "ok": false, + "paused": false, + "pending": false + }, + "tags": [], + "viewMode": "list" + }, + "pluginVersion": "9.0.3-0dc0087e", + "title": "Alert List", + "type": "alertlist" + }, + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" + }, + "mappings": [], + "max": 4, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 4 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 17, + "x": 7, + "y": 0 + }, + "id": 13, + "options": { + "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 300, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": { + "titleSize": 11 + } + }, + "pluginVersion": "9.2.1-2dc128b", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "editorMode": "code", + "expr": "sum (rate (container_cpu_usage_seconds_total{namespace=\"bitswap-peer\", pod=~\"bitswap-peer.*\"}[1m])) by (pod)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "CPU Usage by pod", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" + }, + "mappings": [], + "max": 100, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 17, + "x": 7, + "y": 8 + }, + "id": 14, + "options": { + "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": { + "titleSize": 11 + } + }, + "pluginVersion": "9.2.1-2dc128b", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "expr": "100 * max by (pod)(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", namespace=\"bitswap-peer\", container!=\"\", image!=\"\"}) / on (pod) max by (pod)(kube_pod_container_resource_limits{namespace=\"bitswap-peer\", resource=\"memory\"})", + "refId": "A" + } + ], + "title": "Memory Usage % by pod", + "type": "bargauge" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P1" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 1600 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "max" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "20m", + "frequency": "1m", + "handler": 1, + "message": "Open FDs above 1600 for at least 20 minutes.", + "name": "Open FDs alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 16 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "expr": "process_open_fds{job=~\".*_ipfscluster\"}", + "refId": "A" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 1600, + "visible": true + } + ], + "title": "Open FDs", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P3" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 2 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "sum" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "5m", + "frequency": "1m", + "handler": 1, + "message": "There are messages on indexer DLQ", + "name": "Messages on Indexer DLQ alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "QueueName": "indexer-topic-dlq" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "NumberOfMessagesReceived", + "metricQueryType": 0, + "namespace": "AWS/SQS", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "SampleCount" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 2, + "visible": true + } + ], + "title": "Messages on Indexer DLQ", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P1" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 100 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "sum" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "15m", + "frequency": "1m", + "handler": 1, + "message": "There are more than 100 messages on Indexer DLQ", + "name": "Messages on Indexer DLQ - P1 Alert alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "QueueName": "indexer-topic-dlq" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "NumberOfMessagesReceived", + "metricQueryType": 0, + "namespace": "AWS/SQS", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "SampleCount" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 100, + "visible": true + } + ], + "title": "Messages on Indexer DLQ - P1 Alert", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P2" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 10 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "sum" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "5m", + "frequency": "1m", + "handler": 1, + "message": "There are errors on Indexer Lambda.", + "name": "Indexer errors alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 0, + "y": 32 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "indexer" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "indexer" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "name": "Expression", + "type": "__expr__", + "uid": "__expr__" + }, + "expression": "100 - 100 * $A / $B", + "hide": false, + "refId": "Success Rate", + "type": "math" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 10, + "visible": true + } + ], + "title": "Indexer Errors, Invocations and Success Rate", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P2" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 20 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "sum" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "5m", + "frequency": "1m", + "handler": 1, + "message": "There are errors on bucket-to-indexer Lambda", + "name": "bucket-to-indexer errors alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 8, + "y": 32 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "bucket-to-indexer" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "bucket-to-indexer" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "name": "Expression", + "type": "__expr__", + "uid": "__expr__" + }, + "expression": "100 - 100 * $A / $B", + "hide": false, + "refId": "Success Rate", + "type": "math" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 20, + "visible": true + } + ], + "title": "bucket-to-indexer errors", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P2" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 300 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "sum" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "5m", + "frequency": "1m", + "handler": 1, + "message": "There are errors on side-indexer Lambda", + "name": "side-indexer errors alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 16, + "y": 32 + }, + "id": 11, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "side-indexer" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "side-indexer" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "name": "Expression", + "type": "__expr__", + "uid": "__expr__" + }, + "expression": "100 - 100 * $A / $B", + "hide": false, + "refId": "Success Rate", + "type": "math" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 300, + "visible": true + } + ], + "title": "side-indexer errors", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 43 + }, + "id": 20, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "expression": "filter @message like \"Announcing to the indexer node failed\"\n| stats count(*) as `Announcing to the indexer node failed` by bin(1m)", + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "log", + "queryMode": "Logs", + "refId": "A", + "region": "default", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "title": "Advertisement Errors", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "orange", + "value": 2000 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 43 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "Currency": "USD" + }, + "expression": "", + "hide": true, + "id": "m1", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedCharges", + "metricQueryType": 0, + "namespace": "AWS/Billing", + "period": "86400", + "queryMode": "Metrics", + "refId": "A", + "region": "us-east-1", + "sqlExpression": "", + "statistic": "Average" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": {}, + "expression": "RATE(m1) * PERIOD(m1)", + "hide": true, + "id": "m2", + "label": "", + "matchExact": true, + "metricEditorMode": 1, + "metricName": "", + "metricQueryType": 0, + "namespace": "AWS/Billing", + "period": "86400", + "queryMode": "Metrics", + "refId": "B", + "region": "us-east-1", + "sqlExpression": "", + "statistic": "Average" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": {}, + "expression": "IF(m2>0, m2)", + "hide": false, + "id": "m3", + "label": "Total estimated daily charge", + "matchExact": true, + "metricEditorMode": 1, + "metricName": "", + "metricQueryType": 0, + "namespace": "", + "period": "86400", + "queryMode": "Metrics", + "refId": "C", + "region": "us-east-1", + "sqlExpression": "", + "statistic": "Average" + } + ], + "timeFrom": "30d", + "title": "Daily Charges AWS", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-YlBl" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 2, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "red", + "value": 0.8 + }, + { + "color": "#EAB839", + "value": 0.9 + }, + { + "color": "transparent", + "value": 100 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 51 + }, + "id": 24, + "options": { + "legend": { + "calcs": [ + "last" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "editorMode": "code", + "expr": "rate(nftcheckup_connection_errors_total{peer=\"bafzbeibhqavlasjc7dvbiopygwncnrtvjd2xmryk5laib7zyjor6kf3avm\"}[1h]) / ignoring(responded,found) rate(nftcheckup_samples_total[1h])", + "hide": false, + "legendFormat": "Connection Errors", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "editorMode": "code", + "expr": "rate(nftcheckup_bitswap_requests_total{responded=\"true\",found=\"true\", peer=\"bafzbeibhqavlasjc7dvbiopygwncnrtvjd2xmryk5laib7zyjor6kf3avm\"}[1h]) / ignoring(responded,found) rate(nftcheckup_samples_total[1h])", + "hide": false, + "legendFormat": "Found", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "editorMode": "code", + "expr": "rate(nftcheckup_bitswap_requests_total{responded=\"true\",found=\"true\", peer!=\"bafzbeibhqavlasjc7dvbiopygwncnrtvjd2xmryk5laib7zyjor6kf3avm\"}[1h]) / ignoring(responded,found) rate(nftcheckup_samples_total[1h])", + "hide": true, + "legendFormat": "{{peer}}", + "range": true, + "refId": "C" + } + ], + "title": "NFT Peer: bafzbeibhqavlasjc7dvbiopygwncnrtvjd2xmryk5laib7zyjor6kf3avm", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 0.5 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 51 + }, + "id": 26, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "editorMode": "code", + "expr": "sum(rate(nftcheckup_bitswap_requests_total{responded=\"true\",found=\"true\"}[5m])) / sum(rate(nftcheckup_samples_total[5m]))", + "legendFormat": "Found", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "editorMode": "code", + "expr": "sum(rate(nftcheckup_bitswap_requests_total{responded=\"false\",found=\"false\"}[5m])) / sum(rate(nftcheckup_samples_total[5m]))", + "hide": false, + "legendFormat": "No Response", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "editorMode": "code", + "expr": "sum(rate(nftcheckup_bitswap_requests_total{responded=\"true\",found=\"false\"}[5m])) / sum(rate(nftcheckup_samples_total[5m]))", + "hide": false, + "legendFormat": "Not Found", + "range": true, + "refId": "C" + } + ], + "title": "Bitswap Availability", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P1" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 2000 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "avg" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "20m", + "frequency": "1m", + "handler": 1, + "message": "Goroutines has increased above 2000 for at least 20 minutes.", + "name": "Goroutines alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 59 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "EgboSQqnz" + }, + "expr": "max(go_goroutines{job=~\".*[nft|web]*._ipfscluster\"})", + "refId": "A" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 2000, + "visible": true + } + ], + "title": "Goroutines Max", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P2" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 95 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "avg" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "5m", + "frequency": "1m", + "handler": 1, + "message": "There are pods consuming more than 80% Memory", + "name": "Memory Usage % by pod alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 100, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 24, + "x": 0, + "y": 66 + }, + "id": 17, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.0.3-0dc0087e", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "editorMode": "code", + "expr": "100 * max by (pod)(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", namespace=\"bitswap-peer\", container!=\"\", image!=\"\"}) / on (pod) max by (pod)(kube_pod_container_resource_limits{namespace=\"bitswap-peer\", resource=\"memory\"})", + "legendFormat": "{{pod}}", + "range": true, + "refId": "A" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 95, + "visible": true + } + ], + "title": "Memory Usage % by pod", + "type": "timeseries" + }, + { + "alert": { + "alertRuleTags": { + "og_priority": "P2" + }, + "conditions": [ + { + "evaluator": { + "params": [ + 3.5 + ], + "type": "gt" + }, + "operator": { + "type": "and" + }, + "query": { + "params": [ + "A", + "5m", + "now" + ] + }, + "reducer": { + "params": [], + "type": "avg" + }, + "type": "query" + } + ], + "executionErrorState": "alerting", + "for": "5m", + "frequency": "1m", + "handler": 1, + "message": "There are pods using high CPU on bitswap", + "name": "CPU Usage by pod alert", + "noDataState": "no_data", + "notifications": [ + { + "uid": "_rTkYxhnk" + } + ] + }, + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 4, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 4 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 24, + "x": 0, + "y": 76 + }, + "id": 18, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.0.3-0dc0087e", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "editorMode": "code", + "expr": "sum (rate (container_cpu_usage_seconds_total{namespace=\"bitswap-peer\", pod=~\"bitswap-peer.*\"}[1m])) by (pod)", + "legendFormat": "{{pod}}", + "range": true, + "refId": "A" + } + ], + "thresholds": [ + { + "colorMode": "critical", + "op": "gt", + "value": 3.5, + "visible": true + } + ], + "title": "CPU Usage by pod", + "type": "timeseries" + } + ], + "refresh": "", + "schemaVersion": 37, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Nearform Alerts", + "uid": "Dj5OLmC7z", + "version": 37, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana-dashboards/ipfs-elastic-provider/aws_dynamodb.json b/grafana-dashboards/ipfs-elastic-provider/aws_dynamodb.json new file mode 100644 index 00000000..6f3859a5 --- /dev/null +++ b/grafana-dashboards/ipfs-elastic-provider/aws_dynamodb.json @@ -0,0 +1,2502 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "", + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 44, + "links": [], + "liveNow": false, + "panels": [ + { + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 28, + "title": "Account Metrics", + "type": "row" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 29, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Scan", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Scan: Successful Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "GetItem", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "GetItem: Successfull Latency", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 19, + "panels": [], + "title": "Table Metrics: Latency", + "type": "row" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 3, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Scan", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Scan: Successful Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 10 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "DeleteItem", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "DeleteItem: Successfull Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "PutItem", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "PutItem: Successfull Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 18 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "BatchWriteItem", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "BatchWriteItem: Successfull Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 26 + }, + "id": 20, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "UpdateItem", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "UpdateItem: Successfull Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 26 + }, + "id": 25, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Query", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SuccessfulRequestLatency", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Query: Successfull Latency", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 34 + }, + "id": 23, + "panels": [], + "title": "Table Metrics: Errors", + "type": "row" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 35 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "PutItem", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SystemErrors", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "GetItem", + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SystemErrors", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "DeleteItem", + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SystemErrors", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "BatchWriteItem", + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SystemErrors", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "D", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "UpdateItem", + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SystemErrors", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "E", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Item: SystemErrors", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 35 + }, + "id": 26, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Query", + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SystemErrors", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Scan", + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "SystemErrors", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "D", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Query: SystemErrors", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 43 + }, + "id": 17, + "panels": [], + "title": "Capacity Units", + "type": "row" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 44 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Consumed Read Capacity Units", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 44 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Provisioned Read Capacity Units", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 52 + }, + "id": 11, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Consumed Write Capacity Units", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 52 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Provisioned Write Capacity Units", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 60 + }, + "id": 15, + "panels": [], + "title": "Operation Metrics", + "type": "row" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 61 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "BatchWriteItem" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "GetItem" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "D", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "UpdateItem" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "H", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "PutItem" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Scan" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "DeleteItem" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "E", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Query" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "F", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "Operation": "Scan" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "G", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "WriteThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "I", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledRequests", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "J", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ThrottledPutRecordCount", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "K", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ReadThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "L", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "OnlineIndexThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "M", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Throttled Requests", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 61 + }, + "id": 13, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "dimensions": {}, + "expression": "", + "id": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ReturnedItemCount", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Returned Item Count", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 69 + }, + "id": 30, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "id": "read", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "", + "hide": false, + "id": "write", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "write / PERIOD(write)", + "hide": false, + "id": "writeconsumed", + "label": "Write Units", + "matchExact": true, + "metricEditorMode": 1, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "datasource": { + "type": "cloudwatch", + "uid": "30Va-YC7k" + }, + "dimensions": { + "TableName": "$tableName" + }, + "expression": "read / PERIOD(read)", + "hide": false, + "id": "readconsumed", + "label": "Read Units", + "matchExact": true, + "metricEditorMode": 1, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "D", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "DDB Capacity", + "type": "timeseries" + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "CloudWatch", + "value": "CloudWatch" + }, + "hide": 0, + "includeAll": false, + "multi": false, + "name": "datasource", + "options": [], + "query": "cloudwatch", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, + "text": "default", + "value": "default" + }, + "datasource": { + "uid": "${datasource}" + }, + "definition": "regions()", + "hide": 0, + "includeAll": false, + "label": "Region", + "multi": false, + "name": "region", + "options": [], + "query": "regions()", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": true, + "text": "prod-ep-v1-blocks-cars-position", + "value": "prod-ep-v1-blocks-cars-position" + }, + "hide": 0, + "includeAll": false, + "label": "TableName", + "multi": false, + "name": "tableName", + "options": [ + { + "selected": false, + "text": "cars", + "value": "cars" + }, + { + "selected": false, + "text": "blocks", + "value": "blocks" + }, + { + "selected": true, + "text": "prod-ep-v1-blocks-cars-position", + "value": "prod-ep-v1-blocks-cars-position" + }, + { + "selected": false, + "text": "prod-ep-v1-cars", + "value": "prod-ep-v1-cars" + }, + { + "selected": false, + "text": "prod-ep-v1-blocks", + "value": "prod-ep-v1-blocks" + } + ], + "query": "cars, blocks, prod-ep-v1-blocks-cars-position, prod-ep-v1-cars, prod-ep-v1-blocks", + "queryValue": "", + "skipUrlSync": false, + "type": "custom" + } + ] + }, + "time": { + "from": "2022-11-14T03:00:00.000Z", + "to": "2022-11-20T02:59:59.000Z" + }, + "timepicker": {}, + "timezone": "", + "title": "DynamoDB", + "uid": "ONuY-OLnk", + "version": 7, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana-dashboards/ipfs-elastic-provider/aws_elb.json b/grafana-dashboards/ipfs-elastic-provider/aws_elb.json new file mode 100644 index 00000000..01a8fbac --- /dev/null +++ b/grafana-dashboards/ipfs-elastic-provider/aws_elb.json @@ -0,0 +1,1259 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "Visualize AWS ELB Classic Load Balancer metrics", + "editable": true, + "fiscalYearStartMonth": 0, + "gnetId": 644, + "graphTooltip": 0, + "id": 752, + "links": [], + "liveNow": false, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 0 + }, + "hiddenSeries": false, + "id": 7, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Latency_Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "RequestCount", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Latency", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "RequestCount / Latency", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "s", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "HTTPCode_Backend_2XX_Sum": "#7EB26D", + "HTTPCode_Backend_5XX_Sum": "#BF1B00", + "HTTPCode_ELB_4XX_Sum": "#EAB839", + "HTTPCode_ELB_5XX_Sum": "#99440A" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "unit": "decbytes" + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 12, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "HTTPCode_ELB_4XX_Sum", + "yaxis": 2 + }, + { + "alias": "HTTPCode_ELB_5XX_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedProcessedBytes", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "F", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "EstimatedProcessedBytes", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "decbytes", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "HTTPCode_Backend_2XX_Sum": "#7EB26D", + "HTTPCode_Backend_5XX_Sum": "#BF1B00", + "HTTPCode_ELB_4XX_Sum": "#EAB839", + "HTTPCode_ELB_5XX_Sum": "#99440A" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 11, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "HTTPCode_ELB_4XX_Sum", + "yaxis": 2 + }, + { + "alias": "HTTPCode_ELB_5XX_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedALBActiveConnectionCount", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "F", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "EstimatedALBConnectionCount", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "HTTPCode_Backend_2XX_Sum": "#7EB26D", + "HTTPCode_Backend_5XX_Sum": "#BF1B00", + "HTTPCode_ELB_4XX_Sum": "#EAB839", + "HTTPCode_ELB_5XX_Sum": "#99440A" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 15 + }, + "hiddenSeries": false, + "id": 13, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "HTTPCode_ELB_4XX_Sum", + "yaxis": 2 + }, + { + "alias": "HTTPCode_ELB_5XX_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedALBNewConnectionCount", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "F", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "EstimatedALBNewConnectionCount", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "HTTPCode_Backend_2XX_Sum": "#7EB26D", + "HTTPCode_Backend_5XX_Sum": "#BF1B00", + "HTTPCode_ELB_4XX_Sum": "#EAB839", + "HTTPCode_ELB_5XX_Sum": "#99440A" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "description": "", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 15 + }, + "hiddenSeries": false, + "id": 10, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "HTTPCode_ELB_4XX_Sum", + "yaxis": 2 + }, + { + "alias": "HTTPCode_ELB_5XX_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedALBConsumedLCUs", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "F", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "EstimatedALBConsumedLCUs", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 22 + }, + "hiddenSeries": false, + "id": 8, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Latency_Average", + "yaxis": 2 + }, + { + "alias": "SpilloverCount_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "SpilloverCount", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "SurgeQueueLength", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "statistic": "Maximum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "SpilloverCount / SurgeQueueLength", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "BackendConnectionErrors_Sum": "#BF1B00" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 29 + }, + "hiddenSeries": false, + "id": 9, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Latency_Average", + "yaxis": 2 + }, + { + "alias": "SpilloverCount_Sum", + "yaxis": 2 + }, + { + "alias": "BackendConnectionErrors_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "HealthyHostCount", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "UnHealthyHostCount", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "LoadBalancerName": "$loadbalancername" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "BackendConnectionErrors", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/ELB", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "HostCount / BackendConnectionErrors", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [ + "cloudwatch" + ], + "templating": { + "list": [ + { + "current": { + "selected": true, + "text": "CloudWatch - Nitro", + "value": "CloudWatch - Nitro" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "cloudwatch", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, + "text": "us-west-2", + "value": "us-west-2" + }, + "datasource": { + "uid": "${datasource}" + }, + "definition": "", + "hide": 0, + "includeAll": false, + "label": "Region", + "multi": false, + "name": "region", + "options": [], + "query": "regions()", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": true, + "text": "a40871e587f6647fbbf074e9e2e0fe58", + "value": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "datasource": { + "uid": "${datasource}" + }, + "definition": "", + "hide": 0, + "includeAll": false, + "label": "LoadBalancerName", + "multi": false, + "name": "loadbalancername", + "options": [], + "query": "dimension_values($region,AWS/ELB,Latency,LoadBalancerName)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-12h", + "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" + ] + }, + "timezone": "browser", + "title": "AWS ELB Classic Load Balancer", + "uid": "pFTOCc6nk", + "version": 3, + "weekStart": "" + } \ No newline at end of file diff --git a/grafana-dashboards/ipfs-elastic-provider/aws_lambda.json b/grafana-dashboards/ipfs-elastic-provider/aws_lambda.json new file mode 100644 index 00000000..c5330e3e --- /dev/null +++ b/grafana-dashboards/ipfs-elastic-provider/aws_lambda.json @@ -0,0 +1,4437 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "Visualize AWS Lambda metrics", + "editable": true, + "fiscalYearStartMonth": 0, + "gnetId": 593, + "graphTooltip": 0, + "id": 41, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 16, + "panels": [], + "title": "Bitswap peer", + "type": "row" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 1 + }, + "id": 12, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.0.2-83956baf", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "${datasource}" + }, + "dimensions": { + "FunctionName": "$functionname" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Execution Errors", + "type": "timeseries" + }, + { + "aliasColors": { + "Maximum": "#e24d42" + }, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "$datasource" + }, + "decimals": 3, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 1, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Duration Maximum", + "bars": false, + "fill": 0, + "lines": true, + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FunctionName": "$functionname" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "Duration", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "refId": "A", + "region": "$region", + "returnData": false, + "statistic": "Average" + }, + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FunctionName": "$functionname" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "Duration", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "refId": "B", + "region": "$region", + "returnData": false, + "statistic": "Maximum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Duration", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "ms", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "decimals": 0, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 15 + }, + "hiddenSeries": false, + "id": 7, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FunctionName": "$functionname" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "${PROP('MetricName')} ${PROP('Stat')}", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Invocations", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Errors Sum": "#e24d42", + "Errors_Average": "#BF1B00", + "Errors_Sum": "#BF1B00" + }, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 22 + }, + "hiddenSeries": false, + "id": 8, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FunctionName": "$functionname" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "refId": "A", + "region": "$region", + "returnData": false, + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Errors", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 29 + }, + "hiddenSeries": false, + "id": 9, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": false, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Dead Letter Error Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FunctionName": "$functionname" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "Throttles", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "refId": "A", + "region": "$region", + "returnData": false, + "statistic": "Sum" + }, + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FunctionName": "$functionname" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "Dead Letter Error", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "refId": "B", + "region": "$region", + "returnData": false, + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Throttles", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 36 + }, + "hiddenSeries": false, + "id": 10, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": {}, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "ConcurrentExecutions", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "refId": "A", + "region": "$region", + "returnData": false, + "statistic": "Average" + }, + { + "alias": "{{metric}} {{stat}}", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": {}, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "UnreservedConcurrentExecutions", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/Lambda", + "options": { + "showDisabledItems": false + }, + "period": "$agg", + "refId": "B", + "region": "$region", + "returnData": false, + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Global Concurrent Executions", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "editable": true, + "error": false, + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 43 + }, + "id": 2, + "links": [], + "options": { + "content": "\nAWS CloudWatch Lambda documentation
\nInstalled from Grafana.net dashboards\n
", + "mode": "html" + }, + "pluginVersion": "9.1.6-10b38e80", + "targets": [ + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "refId": "A" + } + ], + "title": "Documentation", + "type": "text" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 46 + }, + "id": 18, + "panels": [], + "title": "Lambda - Indexer", + "type": "row" + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "ms" + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 47 + }, + "hiddenSeries": false, + "id": 13, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Indexing CAR complete\" \n | stats avg(duration) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Indexing CAR complete (duration)", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 47 + }, + "hiddenSeries": false, + "id": 14, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Indexing CAR complete\" \n | stats avg(source.contentLength) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Indexing CAR complete (ContentLength)", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 54 + }, + "hiddenSeries": false, + "id": 19, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Indexing CAR complete\" \n | stats avg(blocks) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Indexing CAR complete (Blocks)", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 61 + }, + "hiddenSeries": false, + "id": 20, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats avg(`metrics.dynamo-batch-inserts-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats avg(`metrics.dynamo-creates-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "E", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Dynamo metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 61 + }, + "hiddenSeries": false, + "id": 21, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats sum(`metrics.dynamo-batch-inserts-count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats sum(`metrics.dynamo-creates-count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "C", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats sum(`metrics.dynamo-creates-count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "D", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats sum(`metrics.dynamo-creates-durations.sum`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "F", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Dynamo metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 71 + }, + "hiddenSeries": false, + "id": 22, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats avg(`metrics.s3-fetchs-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "S3 metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 71 + }, + "hiddenSeries": false, + "id": 23, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats sum(`metrics.s3-fetchs-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "S3 metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 81 + }, + "hiddenSeries": false, + "id": 24, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats avg(`metrics.sqs-publishes-batch-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats avg(`metrics.sqs-publishes-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "SQS metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 81 + }, + "hiddenSeries": false, + "id": 25, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats sum(`metrics.sqs-publishes-batch-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"indexer-lambda\" \n | stats sum(`metrics.sqs-publishes-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "D", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "SQS metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 11, + "w": 12, + "x": 0, + "y": 91 + }, + "hiddenSeries": false, + "id": 27, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Cannot index the CAR file\"\n| stats count(*) as `Cannot index the CAR file` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Cannot write batch items to DynamoDB table\"\n| stats count(*) as `Cannot write batch items to DynamoDB table` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Error writing blocks\"\n| stats count(*) as `Error writing blocks` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "C", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Cannot send command to DynamoDB after 3 attempts\"\n| stats count(*) as `Cannot send command to DynamoDB after 3 attempts` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "D", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Error queuing block tasks\"\n| stats count(*) as `Error queuing block tasks` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "E", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Cannot insert item into DynamoDB\"\n| stats count(*) as `Cannot insert item into DynamoDB` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "F", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Cannot update item in DynamoDB table cars\"\n| stats count(*) as `Cannot update item in DynamoDB table cars` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "H", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Cannot insert item into DynamoDB table blocks\"\n| stats count(*) as `Cannot insert item into DynamoDB table blocks` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "I", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg like \"Cannot open file S3 URL s3:\"\n| stats count(*) as `Cannot open file S3 URL s3:` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "J", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "fields error, msg, @message\n| filter msg !=\t\"Cannot send command to DynamoDB after 3 attempts\" and \nmsg !=\t\"Cannot index the CAR file\"and\nmsg !=\t\"Cannot write batch items to DynamoDB table\" and\nmsg !=\t\"Error writing blocks\" and\nmsg !=\t\"Error queuing block tasks\" and\nmsg !=\t\"Cannot insert item into DynamoDB\" and\n@type != \"END\" and @type != \"START\" and @type != \"REPORT\" and msg != \"Dumping metrics ...\" and msg != \"Indexing CAR complete\"", + "hide": true, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "G", + "region": "$region", + "statsGroups": [] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Errors", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.width", + "value": 162 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "@message" + }, + "properties": [ + { + "id": "custom.width", + "value": 3047 + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 12, + "y": 91 + }, + "id": 42, + "links": [], + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.1.6-10b38e80", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "fields @message\n| filter @type != \"END\" and @type != \"START\" and @type != \"REPORT\" and msg != \"Dumping metrics ...\"\nand ipfs_provider_component != \"indexer-lambda\"\nand (@message like \"ERROR\" or @message like \"error\" or @message like \"Error\") and @message not like \"Indexing CAR complete\" and @message not like \"sent sns message on topic\"", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/indexer" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "G", + "region": "$region", + "statsGroups": [] + } + ], + "title": "Errors Logs", + "type": "table" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 102 + }, + "id": 31, + "panels": [], + "title": "Lambda - Publishing Advertisement", + "type": "row" + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 103 + }, + "hiddenSeries": false, + "id": 35, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\" \n | stats avg(`metrics.http-indexer-announcements-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\" \n | stats avg(`metrics.http-head-cid-fetchs-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "HTTP metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 103 + }, + "hiddenSeries": false, + "id": 36, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\"\n | stats sum(`metrics.http-indexer-announcements-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\"\n | stats sum(`metrics.http-head-cid-fetchs-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "HTTP metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 113 + }, + "hiddenSeries": false, + "id": 37, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\" \n | stats avg(`metrics.s3-uploads-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\" \n | stats avg(`metrics.s3-fetchs-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "S3 metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 113 + }, + "hiddenSeries": false, + "id": 38, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\"\n | stats sum(`metrics.s3-uploads-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-advertisement-lambda\"\n | stats sum(`metrics.s3-fetchs-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "S3 metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 123 + }, + "hiddenSeries": false, + "id": 40, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"notifyIndexer at https://cid.contact/ingest/announce\"\n| stats count(*) as `notifyIndexer at https://cid.contact/ingest/announce` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter msg = \"Downloading PeerId from s3://ipfs-peer-bitswap-config/peerId.json\"\n| stats count(*) as `Downloading PeerId from s3://ipfs-peer-bitswap-config/peerId.json` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "General metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.width", + "value": 205 + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 123 + }, + "id": 41, + "links": [], + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.1.6-10b38e80", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "fields @message\n| filter @type != \"END\" and @type != \"START\" and @type != \"REPORT\"\nand ipfs_provider_component != \"publisher-advertisement-lambda\"\nand (@message like \"ERROR\" or @message like \"error\" or @message like \"Error\" or @message like \"failed\" or @message like \"Failed\")\n", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "G", + "region": "$region", + "statsGroups": [] + } + ], + "title": "Errors Logs", + "type": "table" + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 11, + "w": 24, + "x": 0, + "y": 133 + }, + "hiddenSeries": false, + "id": 34, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter @type != \"END\" and @type != \"START\" and @type != \"REPORT\"\nand ipfs_provider_component != \"publisher-advertisement-lambda\"\nand (@message like \"ERROR\" or @message like \"error\" or @message like \"Error\" or @message like \"Failed\" or @message like \"failed\") and @message not like \"Announcing to the indexer node failed\"\n| stats count(*) as `Other errors` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter @message like \"Announcing to the indexer node failed\"\n| stats count(*) as `Announcing to the indexer node failed` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "fields error, msg\n| filter msg !=\t\"Cannot send command to DynamoDB after 3 attempts\" and \nmsg !=\t\"Cannot index the CAR file\"and\nmsg !=\t\"Cannot write batch items to DynamoDB table\" and\nmsg !=\t\"Error writing blocks\" and\nmsg !=\t\"Error queuing block tasks\" and\nmsg !=\t\"Cannot insert item into DynamoDB\"", + "hide": true, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-advertisement" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "G", + "region": "$region", + "statsGroups": [] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Errors", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 144 + }, + "id": 29, + "panels": [], + "title": "Lambda - Publishing Content", + "type": "row" + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 145 + }, + "hiddenSeries": false, + "id": 43, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-content-lambda\" \n | stats avg(`metrics.s3-uploads-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "S3 metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 145 + }, + "hiddenSeries": false, + "id": 44, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-content-lambda\"\n | stats sum(`metrics.s3-uploads-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-content-lambda\"\n | stats sum(`metrics.s3-uploads-count`) by bin(1m)", + "hide": true, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "S3 metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 155 + }, + "hiddenSeries": false, + "id": 45, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-content-lambda\" \n | stats avg(`metrics.sqs-publishes-durations.mean`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "SQS metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 155 + }, + "hiddenSeries": false, + "id": 46, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "filter ipfs_provider_component = \"publisher-content-lambda\"\n | stats sum(`metrics.sqs-publishes-durations.count`) by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "SQS metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": { + "Throttles Sum": "#e24d42", + "Throttles_Average": "#EAB839", + "Throttles_Sum": "#EAB839" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unit": "none" + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 165 + }, + "hiddenSeries": false, + "id": 48, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": "current", + "sortDesc": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "UnreservedConcurrentExecutions Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "stats sum(records) as `Published records` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "B", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + }, + { + "datasource": { + "uid": "$datasource" + }, + "expression": "stats sum(elapsed) as `Elapsed` by bin(1m)", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "A", + "region": "$region", + "statsGroups": [ + "bin(1m)" + ] + } + ], + "thresholds": [], + "timeRegions": [], + "title": "General metrics", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.width", + "value": 205 + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 165 + }, + "id": 47, + "links": [], + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.1.6-10b38e80", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expression": "fields @message\n| filter @type != \"END\" and @type != \"START\" and @type != \"REPORT\"\nand ipfs_provider_component != \"publisher-content-lambda\"\nand (@message like \"ERROR\" or @message like \"error\" or @message like \"Error\")\n", + "hide": false, + "id": "", + "logGroupNames": [ + "/aws/lambda/publishing-content" + ], + "namespace": "AWS/Lambda", + "queryMode": "Logs", + "refId": "G", + "region": "$region", + "statsGroups": [] + } + ], + "title": "Errors Logs", + "type": "table" + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [ + "monitoringartist", + "cloudwatch" + ], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "CloudWatch", + "value": "CloudWatch" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "cloudwatch", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "auto": true, + "auto_count": 30, + "auto_min": "10s", + "current": { + "selected": false, + "text": "auto", + "value": "$__auto_interval_agg" + }, + "hide": 0, + "label": "Aggregation", + "name": "agg", + "options": [ + { + "selected": true, + "text": "auto", + "value": "$__auto_interval_agg" + }, + { + "selected": false, + "text": "1s", + "value": "1s" + }, + { + "selected": false, + "text": "5s", + "value": "5s" + }, + { + "selected": false, + "text": "10s", + "value": "10s" + }, + { + "selected": false, + "text": "30s", + "value": "30s" + }, + { + "selected": false, + "text": "1m", + "value": "1m" + }, + { + "selected": false, + "text": "5m", + "value": "5m" + }, + { + "selected": false, + "text": "15m", + "value": "15m" + }, + { + "selected": false, + "text": "1h", + "value": "1h" + }, + { + "selected": false, + "text": "6h", + "value": "6h" + }, + { + "selected": false, + "text": "1d", + "value": "1d" + }, + { + "selected": false, + "text": "7d", + "value": "7d" + }, + { + "selected": false, + "text": "30d", + "value": "30d" + } + ], + "query": "1s,5s,10s,30s,1m,5m,15m,1h,6h,1d,7d,30d", + "refresh": 2, + "skipUrlSync": false, + "type": "interval" + }, + { + "current": { + "selected": false, + "text": "default", + "value": "default" + }, + "datasource": { + "uid": "$datasource" + }, + "definition": "regions()", + "hide": 0, + "includeAll": false, + "label": "Region", + "multi": false, + "name": "region", + "options": [], + "query": "regions()", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "current": { + "selected": false, + "text": "indexer", + "value": "indexer" + }, + "datasource": { + "uid": "$datasource" + }, + "definition": "dimension_values($region,AWS/Lambda,Duration,FunctionName)", + "hide": 0, + "includeAll": false, + "label": "FunctionName", + "multi": false, + "name": "functionname", + "options": [], + "query": "dimension_values($region,AWS/Lambda,Duration,FunctionName)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "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" + ] + }, + "timezone": "browser", + "title": "AWS Lambda", + "uid": "AWSLambda", + "version": 6, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana-dashboards/ipfs-elastic-provider/aws_s3.json b/grafana-dashboards/ipfs-elastic-provider/aws_s3.json new file mode 100644 index 00000000..de7442bc --- /dev/null +++ b/grafana-dashboards/ipfs-elastic-provider/aws_s3.json @@ -0,0 +1,1365 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "Visualize AWS S3 metrics", + "editable": true, + "fiscalYearStartMonth": 0, + "gnetId": 575, + "graphTooltip": 0, + "id": 762, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 9, + "panels": [], + "title": "Cloudwatch metrics", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 1 + }, + "hiddenSeries": false, + "id": 1, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "StorageType": "StandardStorage" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "BucketSizeBytes", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "BucketSizeBytes", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 3, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "StorageType": "AllStorageTypes" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "NumberOfObjects", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "NumberOfObjects", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 15 + }, + "id": 11, + "panels": [], + "title": "Discovery", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 16 + }, + "hiddenSeries": false, + "id": 4, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "AllRequests_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "AllRequests", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "GetRequests", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "PutRequests", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DeleteRequests", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "D", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "HeadRequests", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "E", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "PostRequests", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "F", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ListRequests", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "G", + "region": "$region", + "returnData": false, + "sqlExpression": "", + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Filtered Requests", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 23 + }, + "hiddenSeries": false, + "id": 7, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "AllRequests_Sum", + "yaxis": 2 + }, + { + "alias": "BytesDownloaded_Sum", + "yaxis": 2 + }, + { + "alias": "FirstByteLatency_Average", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "FirstByteLatency", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "returnData": false, + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "TotalRequestLatency", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "returnData": false, + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Filtered Latency", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "ms", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 30 + }, + "hiddenSeries": false, + "id": 5, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "AllRequests_Sum", + "yaxis": 2 + }, + { + "alias": "BytesDownloaded_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "BytesDownloaded", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "returnData": false, + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "BytesUploaded", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "returnData": false, + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Filtered Bytes", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "bytes", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "$datasource" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 37 + }, + "hiddenSeries": false, + "id": 6, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "AllRequests_Sum", + "yaxis": 2 + }, + { + "alias": "BytesDownloaded_Sum", + "yaxis": 2 + }, + { + "alias": "4xxErrors_Sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "4xxErrors", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "returnData": false, + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "BucketName": "$bucket", + "FilterId": "$filterid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "highResolution": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "5xxErrors", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/S3", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "returnData": false, + "statistic": "Sum" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Filtered Errors", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false + } + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [ + "cloudwatch" + ], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "CloudWatch", + "value": "CloudWatch" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "cloudwatch", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, + "text": "default", + "value": "default" + }, + "datasource": { + "uid": "$datasource" + }, + "definition": "regions()", + "hide": 0, + "includeAll": false, + "label": "Region", + "multi": false, + "name": "region", + "options": [], + "query": "regions()", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "current": {}, + "datasource": { + "uid": "$datasource" + }, + "definition": "dimension_values($region,AWS/S3,NumberOfObjects,BucketName)", + "error": { + "data": { + "message": "Unexpected error" + } + }, + "hide": 0, + "includeAll": false, + "label": "Bucket", + "multi": false, + "name": "bucket", + "options": [], + "query": "dimension_values($region,AWS/S3,NumberOfObjects,BucketName)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "current": {}, + "datasource": { + "uid": "$datasource" + }, + "definition": "dimension_values($region,AWS/S3,AllRequests,FilterId)", + "error": { + "data": { + "message": "Unexpected error" + } + }, + "hide": 0, + "includeAll": false, + "label": "FilterId", + "multi": false, + "name": "filterid", + "options": [], + "query": "dimension_values($region,AWS/S3,AllRequests,FilterId)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-30d", + "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" + ] + }, + "timezone": "browser", + "title": "AWS S3", + "uid": "AWSS31iWk", + "version": 3, + "weekStart": "" + } \ No newline at end of file diff --git a/grafana-dashboards/ipfs-elastic-provider/aws_sqs.json b/grafana-dashboards/ipfs-elastic-provider/aws_sqs.json new file mode 100644 index 00000000..137c11a3 --- /dev/null +++ b/grafana-dashboards/ipfs-elastic-provider/aws_sqs.json @@ -0,0 +1,908 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "Visualize AWS SQS metrics", + "editable": true, + "fiscalYearStartMonth": 0, + "gnetId": 584, + "graphTooltip": 0, + "id": 42, + "links": [], + "liveNow": false, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 0 + }, + "hiddenSeries": false, + "id": 7, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "NumberOfMessagesDeleted", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "NumberOfMessagesReceived", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "NumberOfMessagesSent", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "C", + "region": "$region", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Messages", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 1, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "ApproximateAgeOfOldestMessage", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "ApproximateAgeOfOldestMessage", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 15 + }, + "hiddenSeries": false, + "id": 4, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "ApproximateNumberOfMessagesVisible", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "C", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "ApproximateNumberOfMessagesNotVisible", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "ApproximateNumberOfMessagesDelayed", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "ApproximateNumberOfMessages", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 22 + }, + "hiddenSeries": false, + "id": 6, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "NumberOfEmptyReceives", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "NumberOfEmptyReceives", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "none", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "uid": "${datasource}" + }, + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 29 + }, + "hiddenSeries": false, + "id": 10, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "sort": "current", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.1.6-10b38e80", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "${datasource}" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "metricEditorMode": 0, + "metricName": "SentMessageSize", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "SentMessageSize", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "editable": true, + "error": false, + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 36 + }, + "id": 2, + "isNew": true, + "links": [], + "options": { + "content": "\nAWS CloudWatch SQS documentation
\nInstalled from Grafana.com dashboards\n
", + "mode": "html" + }, + "pluginVersion": "9.1.6-10b38e80", + "targets": [ + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "refId": "A" + } + ], + "title": "Documentation", + "type": "text" + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [ + "monitoringartist", + "cloudwatch" + ], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "CloudWatch", + "value": "CloudWatch" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "cloudwatch", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, + "text": "default", + "value": "default" + }, + "datasource": { + "uid": "${datasource}" + }, + "definition": "", + "hide": 0, + "includeAll": false, + "label": "Region", + "multi": false, + "name": "region", + "options": [], + "query": "regions()", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "current": { + "selected": false, + "text": "indexer-topic", + "value": "indexer-topic" + }, + "datasource": { + "uid": "${datasource}" + }, + "definition": "", + "hide": 0, + "includeAll": false, + "label": "Queue name", + "multi": false, + "name": "queue", + "options": [], + "query": "dimension_values($region,AWS/SQS,NumberOfMessagesReceived,QueueName)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-24h", + "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" + ] + }, + "timezone": "browser", + "title": "AWS SQS", + "uid": "AWSSQS000", + "version": 2, + "weekStart": "" + } \ No newline at end of file diff --git a/grafana-dashboards/ipfs-elastic-provider/bitswap-peer.json b/grafana-dashboards/ipfs-elastic-provider/bitswap-peer.json index 4ecadbc8..e135a437 100644 --- a/grafana-dashboards/ipfs-elastic-provider/bitswap-peer.json +++ b/grafana-dashboards/ipfs-elastic-provider/bitswap-peer.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -20,14 +23,17 @@ }, "editable": true, "fiscalYearStartMonth": 0, - "gnetId": null, "graphTooltip": 0, + "id": 43, "links": [], "liveNow": false, "panels": [ { "collapsed": false, - "datasource": null, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "gridPos": { "h": 1, "w": 24, @@ -40,7 +46,10 @@ "type": "row" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -59,7 +68,8 @@ "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -85,17 +95,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_total_connections_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(increase(bitswap_total_connections_count_total{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -103,13 +113,18 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], + "min": 0, + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ @@ -119,10 +134,11 @@ }, { "color": "red", - "value": 80 + "value": 800 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -148,17 +164,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_active_connections_count{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(bitswap_active_connections_count{pod=~\"$pod\"} > 0) ", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -166,7 +182,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -181,7 +200,8 @@ "value": null } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -192,6 +212,7 @@ "y": 1 }, "id": 20, + "maxDataPoints": 1488, "options": { "colorMode": "value", "graphMode": "none", @@ -207,17 +228,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_total_entries_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(increase(bitswap_total_entries_count_total{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -225,22 +246,32 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], + "min": 0, + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null + }, + { + "color": "red", + "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -266,17 +297,19 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_pending_entries_count{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "exemplar": false, + "expr": "sum(bitswap_pending_entries_count{pod=~\"$pod\", namespace=\"bitswap-peer\"} > 0) ", + "instant": false, + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -284,7 +317,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -299,7 +335,8 @@ "value": null } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -325,25 +362,28 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_block_hits_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(increase(bitswap_block_data_hits_count_total{pod=~\"$pod\"}[$__range]))+sum(increase(bitswap_block_info_hits_count_total{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], - "title": "Hits", + "title": "Total Hits", "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -362,7 +402,8 @@ "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -388,25 +429,28 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_block_misses_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(increase(bitswap_block_info_misses_count_total{pod=~\"$pod\"}[$__range]))+sum(increase(bitswap_block_data_misses_count_total{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], - "title": "Misses", + "title": "Total Misses", "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -422,7 +466,7 @@ } ] }, - "unit": "none" + "unit": "short" }, "overrides": [] }, @@ -448,17 +492,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(dynamo_reads_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(increase(dynamo_request_durations_count{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -466,7 +510,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -482,7 +529,7 @@ } ] }, - "unit": "none" + "unit": "short" }, "overrides": [] }, @@ -508,17 +555,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(s3_fetchs_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(increase(s3_request_durations_count{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -526,7 +573,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -568,17 +618,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, + "editorMode": "code", "expr": "sum(bitswap_sent_data_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -586,7 +636,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -628,17 +681,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"default\", pod=~\"$pod\", container=\"aws-ipfs-bitswap-peer\", image!=\"\"}) by (container)", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=~\".*bitswap-peer\", pod=~\"$pod\", container!=\"\", image!=\"\"})", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -646,7 +699,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -691,17 +747,17 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=\"default\", pod=~\"$pod\", cluster=\"$cluster\", container=\"aws-ipfs-bitswap-peer\"}) by (container)", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(irate(container_cpu_usage_seconds_total{namespace=~\".*bitswap-peer\", pod=~\"$pod\", container=~\".*bitswap-peer\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -709,27 +765,19 @@ "type": "stat" }, { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 15 + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" }, - "id": 16, - "panels": [], - "title": "Bitswap", - "type": "row" - }, - { - "datasource": null, "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "fixedColor": "#629e51", + "mode": "fixed" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -757,7 +805,17 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -770,136 +828,191 @@ "value": 80 } ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 16 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "sum(bitswap_total_connections_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Total Connections", - "type": "timeseries" - }, - { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Pending" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Failed" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Unknown" }, - "thresholdsStyle": { - "mode": "off" - } + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-blue", + "mode": "fixed" + } + } + ] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ + { + "matcher": { + "id": "byName", + "options": "Succeeded" + }, + "properties": [ { - "color": "green", - "value": null - }, + "id": "color", + "value": { + "fixedColor": "light-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Running" + }, + "properties": [ { - "color": "red", - "value": 80 + "id": "color", + "value": { + "fixedColor": "dark-green", + "mode": "fixed" + } } ] } - }, - "overrides": [] + ] }, "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 16 + "h": 7, + "w": 8, + "x": 0, + "y": 15 }, - "id": 4, + "id": 52, + "links": [], + "maxDataPoints": 100, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "multi", + "sort": "none" } }, + "pluginVersion": "9.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_active_connections_count{pod=~\"$pod\"})", + "editorMode": "code", + "expr": "sum(kube_pod_status_phase{namespace=~\".*bitswap-peer\", phase=\"Running\"})", + "format": "time_series", + "hide": false, "interval": "", - "legendFormat": "", + "intervalFactor": 1, + "legendFormat": "Running", + "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_status_phase{namespace=~\".*bitswap-peer\", phase=\"Pending\"})", + "hide": false, + "legendFormat": "Pending", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_status_phase{namespace=~\".*bitswap-peer\", phase=\"Failed\"})", + "hide": false, + "legendFormat": "Failed", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_status_phase{namespace=~\".*bitswap-peer\", phase=\"Unknown\"})", + "hide": false, + "legendFormat": "Unknown", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_status_phase{namespace=~\".*bitswap-peer\", phase=\"Succeeded\"})", + "hide": false, + "legendFormat": "Succeeded", + "range": true, + "refId": "E" } ], - "title": "Active Connections", + "title": "Pods Status", "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "fixedColor": "#629e51", + "mode": "fixed" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -927,7 +1040,17 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -940,37 +1063,1206 @@ "value": 80 } ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 25 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" + }, + "unit": "none" }, - "tooltip": { - "mode": "single" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Pending" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Failed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Succeeded" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Running" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Waiting" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Terminated" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 15 + }, + "id": 53, + "links": [], + "maxDataPoints": 100, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_container_status_running{namespace=~\".*bitswap-peer\"})", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Running", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_container_status_waiting{namespace=~\".*bitswap-peer\"})", + "hide": false, + "interval": "", + "legendFormat": "Waiting", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_container_status_terminated{namespace=~\".*bitswap-peer\"})", + "hide": false, + "interval": "", + "legendFormat": "Terminated", + "range": true, + "refId": "C" + } + ], + "title": "Containers Status", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "bitswap-peer-598c95d9bb-b9nxm" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 16, + "y": 15 + }, + "id": 54, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "(kube_pod_container_status_restarts_total{namespace=~\".*bitswap-peer\"})", + "legendFormat": "{{pod}}", + "range": true, + "refId": "A" + } + ], + "title": "Total Pod Restarts", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Metric" + }, + "properties": [ + { + "id": "displayName", + "value": "Name" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "displayName", + "value": "Quantity" + }, + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.align" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 22 + }, + "id": 56, + "links": [], + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Quantity" + } + ] + }, + "pluginVersion": "9.2.1-2dc128b", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "kube_replicaset_spec_replicas{namespace=~\".*bitswap-peer\"}", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{ replicaset}}", + "refId": "A" + } + ], + "title": "Deployment Replicas - Up To Date", + "transformations": [ + { + "id": "seriesToRows", + "options": { + "reducers": [] + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "description": "https://iamonkar.dev/prometheus-k8s-three/", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "#629e51", + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "left", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": false + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 22 + }, + "id": 57, + "links": [], + "maxDataPoints": 100, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "(max(kube_replicaset_created {replicaset=~\"bitswap-peer.*\"}) by (replicaset) >=\r\ntimestamp(max(kube_replicaset_created {replicaset=~\"bitswap-peer.*\"}) by (replicaset)) - (($__interval_ms / 1000) * 3)) <= bool\r\ntimestamp(max(kube_replicaset_created {replicaset=~\"bitswap-peer.*\"}) by (replicaset)) + (($__interval_ms / 1000) * 2)", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "ReplicaSet creation", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 29 + }, + "id": 16, + "panels": [], + "title": "Bitswap", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 0, + "y": 30 + }, + "id": 42, + "options": { + "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": { + "titleSize": 11 + } + }, + "pluginVersion": "9.2.1-2dc128b", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_container_status_restarts_total{namespace=~\".*bitswap-peer\"}) by (pod)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Pod Restarts", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 12, + "y": 30 + }, + "id": 44, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_container_status_restarts_total{namespace=~\".*bitswap-peer\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Total Pod Restarts", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 41 + }, + "id": 46, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg(bitswap_active_connections_count{namespace=~\".*bitswap-peer\"}) by (pod)", + "instant": false, + "interval": "", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Active Connections by Pod", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 41 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(bitswap_active_connections_count{pod=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Active Connections", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 50 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(increase(bitswap_total_connections_count_total{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Total Connections", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 50 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(bitswap_pending_entries_count{pod=~\"$pod\",namespace=~\".*bitswap-peer\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Pending Entries", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 59 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, + "editorMode": "code", "expr": "sum(bitswap_total_entries_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -978,13 +2270,18 @@ "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1033,43 +2330,62 @@ "h": 9, "w": 12, "x": 12, - "y": 25 + "y": 59 }, - "id": 7, + "id": 8, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_pending_entries_count{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", - "refId": "A" + "editorMode": "code", + "expr": "sum(bitswap_block_data_misses_count_total{pod=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, + "refId": "Data Blocks" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(bitswap_block_info_misses_count_total{pod=~\"$pod\"})", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "Info Blocks" } ], - "title": "Pending Entries", + "title": "Misses", "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1115,46 +2431,65 @@ "overrides": [] }, "gridPos": { - "h": 9, + "h": 10, "w": 12, "x": 0, - "y": 34 + "y": 68 }, - "id": 9, + "id": 50, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_block_hits_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", - "refId": "A" + "editorMode": "code", + "expr": "sum(bitswap_block_data_hits_count_total{pod=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, + "refId": "Data Blocks" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(bitswap_block_info_hits_count_total{pod=~\"$pod\"})", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "Info Blocks" } ], - "title": "Hits", + "title": "Block Hits", "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1195,51 +2530,59 @@ "value": 80 } ] - } + }, + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 9, + "h": 10, "w": 12, "x": 12, - "y": 34 + "y": 68 }, - "id": 8, + "id": 30, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_block_misses_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(bitswap_sent_data_count_total{pod=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], - "title": "Misses", + "title": "Sent Data (Bytes)", "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1280,64 +2623,71 @@ "value": 80 } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 12, + "h": 11, + "w": 24, "x": 0, - "y": 43 + "y": 78 }, - "id": 11, + "id": 9, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(s3_fetchs_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(increase(bitswap_block_data_hits_count_total{pod=~\"$pod\"}[$__range]))+sum(increase(bitswap_block_info_hits_count_total{pod=~\"$pod\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], - "title": "S3 Fetches", + "title": "Total Hits", "type": "timeseries" }, { - "datasource": null, + "collapsed": false, "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 43 + "h": 1, + "w": 24, + "x": 0, + "y": 89 }, - "id": 35, - "title": "S3 Fetches Duration", - "type": "timeseries" + "id": 48, + "panels": [], + "title": "AWS", + "type": "row" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1387,49 +2737,55 @@ "h": 10, "w": 12, "x": 0, - "y": 53 + "y": 90 }, - "id": 31, + "id": 11, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, - "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(dynamo_reads_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(s3_request_durations_bucket{pod=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], - "title": "DynamoDB Reads", + "title": "S3 Fetches", "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, + "drawStyle": "line", + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -1459,97 +2815,195 @@ { "color": "green", "value": null + }, + { + "color": "red", + "value": 80 } ] }, "unit": "ms" }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Mean" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - }, - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineWidth", - "value": 3 - }, - { - "id": "custom.drawStyle", - "value": "line" - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 10, "w": 12, "x": 12, - "y": 53 + "y": 90 }, - "id": 36, + "id": 35, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "avg(s3_request_durations_bucket)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(dynamo_reads_durations_sum) / sum(dynamo_reads_durations_count)", + "editorMode": "code", + "expr": "max(s3_request_durations_bucket)", "hide": false, - "interval": "", - "legendFormat": "Mean", - "refId": "D" + "legendFormat": "__auto", + "range": true, + "refId": "B" }, { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum (dynamo_reads_durations_bucket{pod=~\"$pod\"}) by (le)", - "format": "time_series", + "editorMode": "code", + "expr": "min(s3_request_durations_bucket)", "hide": false, - "interval": "", - "legendFormat": "{{ le }} %", - "refId": "E" + "legendFormat": "__auto", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "stddev (s3_request_durations_bucket)", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "D" + } + ], + "title": "S3 Fetch Duration", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 100 + }, + "id": 31, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(dynamo_request_durations_bucket{pod=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" } ], - "title": "DynamoDB Reads Duration", + "title": "DynamoDB Reads", "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1562,13 +3016,16 @@ "viz": false }, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": false, + "showPoints": "never", + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -1584,58 +3041,136 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, - "unit": "bytes" + "unit": "ms" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Mean" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 + }, + { + "id": "custom.lineWidth", + "value": 3 + }, + { + "id": "custom.drawStyle", + "value": "line" + } + ] + } + ] }, "gridPos": { "h": 10, "w": 12, - "x": 0, - "y": 63 + "x": 12, + "y": 100 }, - "id": 30, + "id": 36, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "multi", + "sort": "desc" } }, + "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(bitswap_sent_data_count_total{pod=~\"$pod\"})", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "avg(dynamo_request_durations_bucket)", + "legendFormat": "__auto", + "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.5 , sum by (job,le)\n (rate(dynamo_request_durations_bucket{ job=\"bitswap-peer-http\"}[1m]))\n)", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "max (dynamo_request_durations_bucket)", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "min (dynamo_request_durations_bucket)", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "stddev ( dynamo_request_durations_bucket)", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "F" } ], - "title": "Sent Data (Bytes)", + "title": "DynamoDB Reads Duration", "type": "timeseries" }, { "collapsed": false, - "datasource": null, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 73 + "y": 110 }, "id": 14, "panels": [], @@ -1647,14 +3182,17 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, - "y": 74 + "y": 111 }, "hiddenSeries": false, "id": 12, @@ -1675,7 +3213,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.2.5", + "pluginVersion": "9.2.1-2dc128b", "pointradius": 2, "points": false, "renderer": "flot", @@ -1687,12 +3225,12 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": true, - "expr": "sum(container_memory_working_set_bytes{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\", cluster=\"$cluster\", namespace=\"default\", pod=~\"$pod\", container!=\"\", image!=\"\"}) by (container)", - "interval": "", - "legendFormat": "", + "editorMode": "code", + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=~\".*bitswap-peer\", pod=~\"$pod\", container!=\"\", image!=\"\"}) by (container)", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], @@ -1729,13 +3267,18 @@ } }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1784,65 +3327,249 @@ "h": 9, "w": 12, "x": 12, - "y": 74 + "y": 111 }, "id": 10, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${Datasource}" }, - "exemplar": false, - "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=\"default\", pod=~\"$pod\", cluster=\"$cluster\"}) by (container)", - "hide": false, - "interval": "", - "legendFormat": "{{container}}", + "editorMode": "code", + "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=~\".*bitswap-peer\", pod=~\"$pod\", container=~\".*bitswap-peer\"}[$__range]))", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], "title": "CPU Usage", "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 120 + }, + "id": 38, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "max(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=~\".*bitswap-peer\", container!=\"\", image!=\"\"}) by (pod)", + "interval": "", + "legendFormat": "{{pod}}", + "range": true, + "refId": "A" + } + ], + "title": "Memory Usage by Pod", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 120 + }, + "id": 40, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "editorMode": "code", + "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=~\".*bitswap-peer\", pod=~\"$pod\", container=~\".*bitswap-peer\"}[$__range])) by (pod)", + "interval": "", + "legendFormat": "{{pod}}", + "range": true, + "refId": "A" + } + ], + "title": "CPU Usage by Pod", + "type": "timeseries" } ], - "refresh": "", - "schemaVersion": 32, + "refresh": false, + "schemaVersion": 37, "style": "dark", "tags": [], "templating": { "list": [ { - "allValue": null, "current": { "isNone": true, "selected": false, "text": "None", "value": "" }, - "datasource": null, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "definition": "label_values(up{job=\"kube-state-metrics\"}, cluster)", - "description": null, - "error": null, "hide": 2, "includeAll": false, - "label": null, "multi": false, "name": "cluster", "options": [], - "query": { - "query": "label_values(up{job=\"kube-state-metrics\"}, cluster)", - "refId": "StandardVariableQuery" - }, + "query": "", "refresh": 2, "regex": "", "skipUrlSync": false, @@ -1856,18 +3583,18 @@ "text": "All", "value": "$__all" }, - "datasource": null, - "definition": "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"default\"}, pod)", - "description": null, - "error": null, + "datasource": { + "type": "prometheus", + "uid": "${Datasource}" + }, + "definition": "label_values(kube_pod_info{namespace=~\".*bitswap-peer\"}, pod)", "hide": 0, "includeAll": true, - "label": null, - "multi": false, + "multi": true, "name": "pod", "options": [], "query": { - "query": "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"default\"}, pod)", + "query": "label_values(kube_pod_info{namespace=~\".*bitswap-peer\"}, pod)", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -1875,14 +3602,35 @@ "skipUrlSync": false, "sort": 1, "type": "query" + }, + { + "current": { + "selected": false, + "text": "Prometheus-IPFS-Elastic-Provider", + "value": "Prometheus-IPFS-Elastic-Provider" + }, + "hide": 0, + "includeAll": false, + "multi": false, + "name": "Datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": ".*IPFS-Elastic-Provider.*", + "skipUrlSync": false, + "type": "datasource" } ] }, "time": { - "from": "now-5m", + "from": "now-1h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Bitswap Peer" + "title": "Bitswap Peer", + "uid": "LYd7fvCnz", + "version": 82, + "weekStart": "" } \ No newline at end of file diff --git a/grafana-dashboards/ipfs-elastic-provider/e2e.json b/grafana-dashboards/ipfs-elastic-provider/e2e.json new file mode 100644 index 00000000..847e08d4 --- /dev/null +++ b/grafana-dashboards/ipfs-elastic-provider/e2e.json @@ -0,0 +1,3411 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 107, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 11, + "panels": [], + "title": "Edge Layer", + "type": "row" + }, + { + "datasource": { + "type": "loki", + "uid": "grafanacloud-logs" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 1 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.1-2dc128b", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "grafanacloud-logs" + }, + "editorMode": "code", + "expr": "sum by (status) (count_over_time({worker=\"nftstorage.link\" }[1m]))", + "legendFormat": "", + "queryType": "range", + "refId": "A" + } + ], + "title": "nftstorage.link", + "type": "timeseries" + }, + { + "datasource": { + "type": "loki", + "uid": "grafanacloud-logs" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 6, + "y": 1 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.1-2dc128b", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "grafanacloud-logs" + }, + "editorMode": "code", + "expr": "sum by (status) (count_over_time({worker=\"w3s.link\" }[1m]))", + "legendFormat": "", + "queryType": "range", + "refId": "A" + } + ], + "title": "w3s.link", + "type": "timeseries" + }, + { + "datasource": { + "type": "loki", + "uid": "grafanacloud-logs" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 12, + "y": 1 + }, + "id": 28, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.1-2dc128b", + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "grafanacloud-logs" + }, + "editorMode": "code", + "expr": "sum by (status) (count_over_time({worker=\"edge-gateway\" }[1m]))", + "legendFormat": "", + "queryType": "range", + "refId": "A" + } + ], + "title": "w3s.link", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 8 + }, + "id": 21, + "panels": [], + "title": "Lambda Layer", + "type": "row" + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "description": "", + "gridPos": { + "h": 2, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 41, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "[Lambda dashboard](https://daghouse.grafana.net/d/AWSLambda/aws-lambda?orgId=1)", + "mode": "markdown" + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "title": "Lambda", + "type": "text" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 11 + }, + "id": 23, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "indexer" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "indexer" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Indexer", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 6, + "y": 11 + }, + "id": 24, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "publishing-content" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "publishing-content" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Publishing Content", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 12, + "y": 11 + }, + "id": 25, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "publishing-advertisement" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "publishing-advertisement" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Publishing Advertisement", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 18, + "y": 11 + }, + "id": 26, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "side-indexer" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Invocations", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "FunctionName": "side-indexer" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "Errors", + "metricQueryType": 0, + "namespace": "AWS/Lambda", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Side-Indexer", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 13, + "panels": [], + "title": "Database Layer", + "type": "row" + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "description": "", + "gridPos": { + "h": 2, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 40, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "[Dynamo dashboard](https://daghouse.grafana.net/d/ONuY-OLnk/dynamodb?orgId=1&from=now-1h&to=now)", + "mode": "markdown" + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "title": "Dynamo", + "type": "text" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 0, + "y": 21 + }, + "id": 42, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "blocks" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "WriteThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "blocks write", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 5, + "y": 21 + }, + "id": 45, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "blocks" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ReadThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "blocks read", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 13, + "y": 21 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-cars" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "WriteThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "prod-ep-v1-cars write", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 18, + "y": 21 + }, + "id": 17, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-cars" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ReadThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "prod-ep-v1-cars read", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 0, + "y": 27 + }, + "id": 44, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "cars" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "WriteThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "cars write", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 5, + "y": 27 + }, + "id": 43, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "cars" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "cars" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ReadThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "cars read", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 14, + "y": 27 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks-cars-position" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks-cars-position" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks-cars-position" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "WriteThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "prod-ep-v1-blocks-cars-position write", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 19, + "y": 27 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks-cars-position" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks-cars-position" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks-cars-position" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ReadThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "prod-ep-v1-blocks-cars-position read", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 13, + "y": 33 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedWriteCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "WriteThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "prod-ep-v1-blocks write", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 18, + "y": 33 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ConsumedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ProvisionedReadCapacityUnits", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "TableName": "prod-ep-v1-blocks" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ReadThrottleEvents", + "metricQueryType": 0, + "namespace": "AWS/DynamoDB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "prod-ep-v1-blocks read", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 39 + }, + "id": 15, + "panels": [], + "title": "API Layer", + "type": "row" + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "description": "", + "gridPos": { + "h": 2, + "w": 16, + "x": 0, + "y": 40 + }, + "id": 39, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "[Loadbalancer dashboard](https://daghouse.grafana.net/d/pFTOCc6nk/aws-elb-classic-load-balancer?from=now-1h&to=now&orgId=1)", + "mode": "markdown" + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "title": "LoadBalancer ", + "type": "text" + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "description": "", + "gridPos": { + "h": 2, + "w": 7, + "x": 17, + "y": 40 + }, + "id": 38, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "[Bitswap dashboard](https://daghouse.grafana.net/d/LYd7fvCnz/bitswap-peer?orgId=1&from=now-1h&to=now)", + "mode": "markdown" + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "title": "Kubernetes", + "type": "text" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Latency_Average" + }, + "properties": [ + { + "id": "unit", + "value": "s" + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 0, + "y": 42 + }, + "id": 30, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "RequestCount", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "BackendConnectionErrors", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "RequestCount / Backend Connection Errors", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 5, + "y": 42 + }, + "id": 35, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedALBActiveConnectionCount", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedALBNewConnectionCount", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Connections", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 5, + "x": 11, + "y": 42 + }, + "id": 36, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "EstimatedProcessedBytes", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Estimated Processed Bytes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 7, + "x": 17, + "y": 42 + }, + "id": 19, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "editorMode": "code", + "expr": "max(container_memory_working_set_bytes{ namespace=~\".*bitswap-peer\", container!=\"\", image!=\"\"}) by (pod)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Memory Usage by Pod", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 0, + "y": 48 + }, + "id": 31, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.2.2-eb6f0ffe76", + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": false, + "metricEditorMode": 0, + "metricName": "Latency", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 5, + "y": 48 + }, + "id": 34, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "AvailabilityZone": "us-west-2a", + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "id": "", + "label": "", + "matchExact": false, + "metricEditorMode": 0, + "metricName": "HealthyHostCount", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "AvailabilityZone": "us-west-2b", + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": false, + "metricEditorMode": 0, + "metricName": "HealthyHostCount", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "AvailabilityZone": "us-west-2b", + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": false, + "metricEditorMode": 0, + "metricName": "UnHealthyHostCount", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "C", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "O64LIw37k" + }, + "dimensions": { + "AvailabilityZone": "us-west-2a", + "LoadBalancerName": "a40871e587f6647fbbf074e9e2e0fe58" + }, + "expression": "", + "hide": false, + "id": "", + "label": "", + "matchExact": false, + "metricEditorMode": 0, + "metricName": "UnHealthyHostCount", + "metricQueryType": 0, + "namespace": "AWS/ELB", + "period": "", + "queryMode": "Metrics", + "refId": "D", + "region": "default", + "sqlExpression": "", + "statistic": "Average" + } + ], + "title": "Healthy / Unhealthy", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 7, + "x": 17, + "y": 48 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "WFMmNw3nk" + }, + "editorMode": "code", + "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=~\".*bitswap-peer\", container=~\".*bitswap-peer\"}[$__range])) by (pod)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "CPU Usage by Pod", + "type": "timeseries" + } + ], + "schemaVersion": 37, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "[WIP] E2E", + "uid": "4UT1QjI4z", + "version": 18, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana-dashboards/kubernetes/apiserver-12116.json b/grafana-dashboards/kubernetes/apiserver-12116.json index c5916437..6f79e41f 100644 --- a/grafana-dashboards/kubernetes/apiserver-12116.json +++ b/grafana-dashboards/kubernetes/apiserver-12116.json @@ -1,68 +1,72 @@ { - "__inputs": [], - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "6.6.2" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "singlestat", - "name": "Singlestat", - "version": "" - } - ], "annotations": { "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, "type": "dashboard" } ] }, - "editable": false, + "description": "kubernetes api dashbord", + "editable": true, + "fiscalYearStartMonth": 0, "gnetId": 12116, "graphTooltip": 0, - "id": null, - "iteration": 1587541530548, + "id": 34, "links": [], + "liveNow": false, "panels": [ { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "$datasource", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] }, "gridPos": { "h": 7, @@ -71,72 +75,55 @@ "y": 0 }, "id": 2, - "interval": null, "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "min" + ], + "fields": "", + "values": false + }, + "textMode": "auto" }, - "tableColumn": "", + "pluginVersion": "9.1.6-10b38e80", "targets": [ { - "expr": "sum(up{job=\"apiserver\", cluster=\"$cluster\"})", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(up{job=~\".*apiserver.*\", cluster=\"$cluster\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "", + "range": true, "refId": "A" } ], - "thresholds": "", "title": "Up", - "tooltip": { - "shared": false - }, - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "min" + "type": "stat" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -163,51 +150,69 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"2..\", cluster=\"$cluster\"}[5m]))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(apiserver_request_total{job=~\".*apiserver.*\", instance=~\"$instance\",code=~\"2..\", cluster=\"$cluster\"}[5m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "2xx", + "range": true, "refId": "A" }, { - "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"3..\", cluster=\"$cluster\"}[5m]))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(apiserver_request_total{job=~\".*apiserver.*\", instance=~\"$instance\",code=~\"3..\", cluster=\"$cluster\"}[5m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "3xx", + "range": true, "refId": "B" }, { - "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"4..\", cluster=\"$cluster\"}[5m]))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(apiserver_request_total{job=~\".*apiserver.*\", instance=~\"$instance\",code=~\"4..\", cluster=\"$cluster\"}[5m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "4xx", + "range": true, "refId": "C" }, { - "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"5..\", cluster=\"$cluster\"}[5m]))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(apiserver_request_total{job=~\".*apiserver.*\", instance=~\"$instance\",code=~\"5..\", cluster=\"$cluster\"}[5m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "5xx", + "range": true, "refId": "D" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "RPC Rate", "tooltip": { "shared": false, @@ -216,33 +221,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "ops", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -250,7 +246,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -277,30 +282,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job=\"apiserver\", instance=~\"$instance\", verb!=\"WATCH\", cluster=\"$cluster\"}[5m])) by (verb, le))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job=~\".*apiserver.*\", instance=~\"$instance\", verb!=\"WATCH\", cluster=\"$cluster\"}[5m])) by (verb, le))", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{verb}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Request duration 99th quantile", "tooltip": { "shared": false, @@ -309,33 +317,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -343,7 +342,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -370,30 +378,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "sum(rate(workqueue_adds_total{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(workqueue_adds_total{job=~\".*apiserver.*\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} {{name}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Work Queue Add Rate", "tooltip": { "shared": false, @@ -402,33 +413,26 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true }, { "format": "ops", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -436,7 +440,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -463,30 +476,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "sum(rate(workqueue_depth{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(workqueue_depth{job=~\".*apiserver.*\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} {{name}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Work Queue Depth", "tooltip": { "shared": false, @@ -495,33 +511,26 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -529,7 +538,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -556,30 +574,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name, le))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=~\".*apiserver.*\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name, le))", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} {{name}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Work Queue Latency", "tooltip": { "shared": false, @@ -588,33 +609,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -622,7 +634,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -649,30 +670,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "etcd_helper_cache_entry_total{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "etcd_helper_cache_entry_total{job=~\".*apiserver.*\", instance=~\"$instance\", cluster=\"$cluster\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "ETCD Cache Entry Total", "tooltip": { "shared": false, @@ -681,33 +705,26 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -715,7 +732,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -742,37 +768,45 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "sum(rate(etcd_helper_cache_hit_total{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance)", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(etcd_helper_cache_hit_total{job=~\".*apiserver.*\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} hit", + "range": true, "refId": "A" }, { - "expr": "sum(rate(etcd_helper_cache_miss_total{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance)", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "sum(rate(etcd_helper_cache_miss_total{job=~\".*apiserver.*\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} miss", + "range": true, "refId": "B" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "ETCD Cache Hit/Miss Rate", "tooltip": { "shared": false, @@ -781,33 +815,26 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true }, { "format": "ops", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -815,7 +842,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -842,37 +878,45 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, le))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job=~\".*apiserver.*\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, le))", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} get", + "range": true, "refId": "A" }, { - "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, le))", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job=~\".*apiserver.*\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, le))", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} miss", + "range": true, "refId": "B" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "ETCD Cache Duration 99th Quantile", "tooltip": { "shared": false, @@ -881,33 +925,26 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true }, { "format": "s", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -915,7 +952,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -942,30 +988,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "process_resident_memory_bytes{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "process_resident_memory_bytes{job=~\".*apiserver.*\",instance=~\"$instance\", cluster=\"$cluster\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Memory", "tooltip": { "shared": false, @@ -974,33 +1023,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "bytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -1008,7 +1048,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -1035,30 +1084,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "rate(process_cpu_seconds_total{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "rate(process_cpu_seconds_total{job=~\".*apiserver.*\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "CPU usage", "tooltip": { "shared": false, @@ -1067,33 +1119,26 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -1101,7 +1146,16 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -1128,30 +1182,33 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "9.1.6-10b38e80", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "go_goroutines{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}", + "datasource": { + "uid": "$datasource" + }, + "editorMode": "code", + "expr": "go_goroutines{job=~\".*apiserver.*\",instance=~\"$instance\", cluster=\"$cluster\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Goroutines", "tooltip": { "shared": false, @@ -1160,38 +1217,29 @@ }, "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 } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } } ], "refresh": "10s", - "schemaVersion": 22, + "schemaVersion": 37, "style": "dark", "tags": [ "kubernetes-mixin" @@ -1200,61 +1248,77 @@ "list": [ { "current": { - "text": "default", - "value": "default" + "selected": true, + "text": "Prometheus-IPFS-Elastic-Provider", + "value": "Prometheus-IPFS-Elastic-Provider" }, "hide": 0, "includeAll": false, - "label": null, "multi": false, "name": "datasource", "options": [], "query": "prometheus", + "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { - "allValue": null, - "current": {}, - "datasource": "$datasource", + "current": { + "isNone": true, + "selected": false, + "text": "None", + "value": "" + }, + "datasource": { + "type": "datasource", + "uid": "$datasource" + }, "definition": "", "hide": 2, "includeAll": false, - "label": null, "multi": false, "name": "cluster", "options": [], - "query": "label_values(apiserver_request_total, cluster)", + "query": { + "query": "label_values(apiserver_request_total, cluster)", + "refId": "grafanacloud-daghouse-prom-cluster-Variable-Query" + }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, - "current": {}, - "datasource": "$datasource", - "definition": "", + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, + "datasource": { + "type": "datasource", + "uid": "$datasource" + }, + "definition": "label_values(apiserver_request_total{job=~\".*apiserver.*\", cluster=\"$cluster\"}, instance)", "hide": 0, "includeAll": true, - "label": null, "multi": false, "name": "instance", "options": [], - "query": "label_values(apiserver_request_total{job=\"apiserver\", cluster=\"$cluster\"}, instance)", + "query": { + "query": "label_values(apiserver_request_total{job=~\".*apiserver.*\", cluster=\"$cluster\"}, instance)", + "refId": "StandardVariableQuery" + }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -1293,6 +1357,6 @@ "timezone": "", "title": "Kubernetes / API server", "uid": "09ec8aa1e996d6ffcd6817bbaff4db1b", - "version": 1, - "description": "kubernetes api dashbord" + "version": 3, + "weekStart": "" } \ No newline at end of file