diff --git a/.github/workflows/standards.py b/.github/workflows/standards.py index 0ce2056..2dd4487 100644 --- a/.github/workflows/standards.py +++ b/.github/workflows/standards.py @@ -45,6 +45,7 @@ "aws-transit-gateway/aws-transit-gateway.json", "aws-vpn/aws-vpn.json", "aws-waf/aws-waf.json", + "aws-x-ray/aws-x-ray.json", ] standard_footer = " | \nAWS CloudWatch Transfer Family documentation | \nInstalled from Grafana.com dashboards" diff --git a/aws-x-ray/aws-x-ray.json b/aws-x-ray/aws-x-ray.json index 32de4fc..2a8e813 100644 --- a/aws-x-ray/aws-x-ray.json +++ b/aws-x-ray/aws-x-ray.json @@ -1,5 +1,6 @@ { "__inputs": [], + "__elements": {}, "__requires": [ { "type": "datasource", @@ -11,7 +12,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "8.1.3" + "version": "11.3.1" }, { "type": "panel", @@ -30,7 +31,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -47,23 +51,28 @@ }, "description": "Visualize AWS X-Ray metrics", "editable": false, - "gnetId": 2969, + "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, - "iteration": 1631736724227, "links": [], "panels": [ { - "datasource": "$datasource", + "datasource": { + "uid": "$datasource" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -72,8 +81,9 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -105,56 +115,7 @@ }, "unit": "none" }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Latency_Average" - }, - "properties": [ - { - "id": "custom.axisPlacement", - "value": "hidden" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "TargetResponseTime_Average" - }, - "properties": [ - { - "id": "custom.axisPlacement", - "value": "hidden" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "ClientConnections_Sum" - }, - "properties": [ - { - "id": "custom.axisPlacement", - "value": "hidden" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "BytesOut_Average" - }, - "properties": [ - { - "id": "custom.axisPlacement", - "value": "hidden" - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 9, @@ -163,29 +124,33 @@ "y": 0 }, "id": 7, - "links": [], "options": { "legend": { "calcs": [ "mean", - "lastNotNull", "max", "min" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, - "pluginVersion": "8.1.3", + "pluginVersion": "11.3.1", "targets": [ { "alias": "", "application": { "filter": "" }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, "dimensions": { "GroupName": "$groupname" }, @@ -201,8 +166,11 @@ "item": { "filter": "" }, + "label": "", "matchExact": true, + "metricEditorMode": 0, "metricName": "ApproximateTraceCount", + "metricQueryType": 0, "mode": 0, "namespace": "AWS/X-Ray", "options": { @@ -211,20 +179,13 @@ "period": "", "refId": "A", "region": "$region", - "statistics": [ - "Average" - ] + "statistic": "Average" } ], - "timeFrom": null, - "timeShift": null, "title": "ApproximateTraceCount", "type": "timeseries" }, { - "datasource": null, - "editable": true, - "error": false, "gridPos": { "h": 3, "w": 24, @@ -232,19 +193,22 @@ "y": 9 }, "id": 2, - "links": [], "options": { - "content": " | \nInstalled from Grafana.com dashboards", + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "\n | \nAWS CloudWatch X-Ray documentation | \nInstalled from Grafana.com dashboards", "mode": "html" }, - "pluginVersion": "8.1.3", + "pluginVersion": "11.3.1", "title": "Documentation", "type": "text" } ], - "refresh": false, - "schemaVersion": 30, - "style": "dark", + "refresh": "", + "schemaVersion": 40, "tags": [ "monitoringartist", "cloudwatch" @@ -253,97 +217,58 @@ "list": [ { "current": {}, - "description": null, - "error": null, - "hide": 0, "includeAll": false, "label": "Datasource", - "multi": false, "name": "datasource", "options": [], "query": "cloudwatch", - "queryValue": "am", "refresh": 1, "regex": "", - "skipUrlSync": false, "type": "datasource" }, { - "allValue": null, "current": {}, - "datasource": "$datasource", + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, "definition": "", - "description": null, - "error": null, - "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 + "type": "query" }, { - "allValue": null, "current": {}, - "datasource": "$datasource", + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, "definition": "dimension_values($region, AWS/X-Ray, ApproximateTraceCount, GroupName)", - "description": null, - "error": null, - "hide": 0, "includeAll": false, "label": "GroupName", - "multi": false, "name": "groupname", "options": [], "query": "dimension_values($region, AWS/X-Ray, ApproximateTraceCount, GroupName)", "refresh": 1, "regex": "", - "skipUrlSync": false, "sort": 1, "type": "query" } ] }, "time": { - "from": "now-7d", + "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" - ] - }, + "timepicker": {}, "timezone": "browser", "title": "AWS X-Ray", "uid": "awsxrayaa", - "version": 1 + "version": 2, + "weekStart": "" } \ No newline at end of file diff --git a/aws-x-ray/aws-x-ray.png b/aws-x-ray/aws-x-ray.png index c5d71a3..78b8e2c 100644 Binary files a/aws-x-ray/aws-x-ray.png and b/aws-x-ray/aws-x-ray.png differ