-
-
Save filiplindqvist-tv4/b18c7fa13c8c8c7a18ca24bf191587f0 to your computer and use it in GitHub Desktop.
Grafana JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"graphTooltip": 2, | |
"id": 89, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 7, | |
"panels": [], | |
"title": "Client facing", | |
"type": "row" | |
}, | |
{ | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 4, | |
"libraryPanel": { | |
"name": "ALB Target Response times", | |
"uid": "ec83daba-d9e2-408c-bab3-89a1aba84895" | |
}, | |
"title": "Response times" | |
}, | |
{ | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 1 | |
}, | |
"id": 6, | |
"libraryPanel": { | |
"name": "Requests", | |
"uid": "f00daea5-5927-4ce2-932f-609670e30763" | |
}, | |
"title": "Requests" | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 9 | |
}, | |
"id": 8, | |
"panels": [], | |
"title": "Infrastructure", | |
"type": "row" | |
}, | |
{ | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 10 | |
}, | |
"id": 9, | |
"libraryPanel": { | |
"name": "ECS CPU Usage", | |
"uid": "be9cfdf3-d21f-4ce4-9122-934bbbab971f" | |
}, | |
"title": "ECS CPU Usage" | |
}, | |
{ | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 10 | |
}, | |
"id": 11, | |
"libraryPanel": { | |
"name": "ECS Memory Usage", | |
"uid": "cec9fade-21e4-40a4-a5cc-14dc9117599e" | |
}, | |
"title": "ECS Memory Usage" | |
}, | |
{ | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 18 | |
}, | |
"id": 10, | |
"libraryPanel": { | |
"name": "ECS Task Counts", | |
"uid": "f0401c95-4cae-47b8-8d7e-d9f7e6a85f29" | |
}, | |
"title": "ECS Task Counts" | |
} | |
], | |
"refresh": "", | |
"schemaVersion": 39, | |
"tags": [ | |
"MyTeam" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "Production", | |
"value": "prod1" | |
}, | |
"hide": 0, | |
"includeAll": false, | |
"multi": false, | |
"name": "env", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "Production", | |
"value": "prod1" | |
}, | |
{ | |
"selected": false, | |
"text": "Development", | |
"value": "dev1" | |
} | |
], | |
"query": "Production : prod1, Development : dev1", | |
"queryValue": "", | |
"skipUrlSync": false, | |
"type": "custom" | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "884099773627", | |
"value": "884099773627" | |
}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "mimir" | |
}, | |
"definition": "label_values(agent_build_info{account=\"$env\"},account_id)", | |
"hide": 2, | |
"includeAll": false, | |
"multi": false, | |
"name": "aws_account", | |
"options": [], | |
"query": { | |
"qryType": 1, | |
"query": "label_values(agent_build_info{account=\"$env\"},account_id)", | |
"refId": "PrometheusVariableQueryEditor-VariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"type": "query" | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "brandA", | |
"value": "brandA" | |
}, | |
"hide": 0, | |
"includeAll": false, | |
"label": "Platform", | |
"multi": false, | |
"name": "platform", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "brandA", | |
"value": "brandA" | |
}, | |
{ | |
"selected": false, | |
"text": "brandB", | |
"value": "brandB" | |
} | |
], | |
"query": "brandA,brandB", | |
"queryValue": "", | |
"skipUrlSync": false, | |
"type": "custom" | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "app/myservices-brandAprofiles-alb/3c1ea66a757b8f1c", | |
"value": "app/myservices-brandAprofiles-alb/3c1ea66a757b8f1c" | |
}, | |
"datasource": { | |
"type": "cloudwatch", | |
"uid": "coord1-cloudwatch" | |
}, | |
"definition": "", | |
"hide": 2, | |
"includeAll": false, | |
"multi": false, | |
"name": "load_balancer", | |
"options": [], | |
"query": { | |
"accountId": "$aws_account", | |
"dimensionFilters": {}, | |
"dimensionKey": "LoadBalancer", | |
"metricName": "HTTPCode_Target_2XX_Count", | |
"namespace": "AWS/ApplicationELB", | |
"queryType": "dimensionValues", | |
"refId": "CloudWatchVariableQueryEditor-VariableQuery", | |
"region": "default" | |
}, | |
"refresh": 1, | |
"regex": "/app\\/myservices-${platform}profile/", | |
"skipUrlSync": false, | |
"sort": 0, | |
"type": "query" | |
}, | |
{ | |
"hide": 2, | |
"name": "ecs_cluster_name", | |
"query": "coreecs-general-cluster-fargate-main-ew1", | |
"skipUrlSync": false, | |
"type": "constant" | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "myservices-brandAprofiles-api", | |
"value": "myservices-brandAprofiles-api" | |
}, | |
"datasource": { | |
"type": "cloudwatch", | |
"uid": "coord1-cloudwatch" | |
}, | |
"definition": "", | |
"hide": 2, | |
"includeAll": false, | |
"multi": false, | |
"name": "ecs_service_name", | |
"options": [], | |
"query": { | |
"accountId": "$aws_account", | |
"dimensionFilters": {}, | |
"dimensionKey": "ServiceName", | |
"metricName": "CPUUtilization", | |
"namespace": "AWS/ECS", | |
"queryType": "dimensionValues", | |
"refId": "CloudWatchVariableQueryEditor-VariableQuery", | |
"region": "default" | |
}, | |
"refresh": 1, | |
"regex": "/myservices-${platform}profile.+/", | |
"skipUrlSync": false, | |
"sort": 0, | |
"type": "query" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-6h", | |
"to": "now" | |
}, | |
"timepicker": {}, | |
"timezone": "", | |
"title": "Profile API", | |
"uid": "fa568412-0e6f-4ad5-866c-f75352474a8d", | |
"version": 4, | |
"weekStart": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment