Skip to content

Instantly share code, notes, and snippets.

@eagletmt eagletmt/dashboard.json Secret
Created Jul 22, 2019

Embed
What would you like to do?
{
"annotations": {
"list": [
{
"datasource": "hako-console-events",
"enable": true,
"iconColor": "rgba(255, 96, 96, 1)",
"limit": 100,
"name": "Deploy",
"query": "select event_type, description from app_events where event_type = 'deploy' and app_id='xxxxxx'",
"tagsColumn": "event_type",
"textColumn": "description",
"type": "tags"
}
]
},
"graphTooltip": 2,
"links": [
{
"icon": "external link",
"title": "hako-console",
"type": "link",
"url": "https://hako-console.example.com/hako_apps/xxxxxx"
}
],
"panels": [
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 0,
"title": "ALB",
"type": "row"
},
{
"bars": true,
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 1
},
"id": 1,
"lines": false,
"links": [
{
"keepTime": true,
"title": "ALB metrics",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elb-metrics-apne1?orgId=1&var-region=ap-northeast-1&var-load_balancer=app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
}
],
"targets": [
{
"alias": "2xx",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "HTTPCode_Target_2XX_Count",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "Target 4xx",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "HTTPCode_Target_4XX_Count",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "Target 5xx",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "HTTPCode_Target_5XX_Count",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "ELB 4xx",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "HTTPCode_ELB_4XX_Count",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "ELB 5xx",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "HTTPCode_ELB_5XX_Count",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
}
],
"title": "Request Count",
"type": "graph",
"yaxes": [
{
"format": "short"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 1
},
"id": 2,
"links": [
{
"keepTime": true,
"title": "ALB metrics",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elb-metrics-apne1?orgId=1&var-region=ap-northeast-1&var-load_balancer=app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
}
],
"targets": [
{
"alias": "Latency (p50)",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "TargetResponseTime",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"p50"
]
},
{
"alias": "Latency (p90)",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "TargetResponseTime",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"p90"
]
},
{
"alias": "Latency (p95)",
"dimensions": {
"LoadBalancer": "app/hako-xxxxxx/yyyyyyyyyyyyyyyy"
},
"metricName": "TargetResponseTime",
"namespace": "AWS/ApplicationELB",
"region": "ap-northeast-1",
"statistics": [
"p95"
]
}
],
"title": "Latency",
"type": "graph",
"yaxes": [
{
"format": "s"
},
{
"format": "short"
}
]
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 3,
"panels": [
{
"datasource": "CloudWatch",
"fill": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 3
},
"id": 4,
"targets": [
{
"alias": "CPUUtilization",
"dimensions": {
"ClusterName": "production",
"ServiceName": "xxxxxx"
},
"metricName": "CPUUtilization",
"namespace": "AWS/ECS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU Utilization",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"fill": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 3
},
"id": 5,
"targets": [
{
"alias": "MemoryUtilization",
"dimensions": {
"ClusterName": "production",
"ServiceName": "xxxxxx"
},
"metricName": "MemoryUtilization",
"namespace": "AWS/ECS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "Memory Utilization",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"fill": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 3
},
"id": 6,
"targets": [
{
"alias": "Number of running tasks raw",
"dimensions": {
"ClusterName": "production",
"ServiceName": "xxxxxx"
},
"hide": true,
"id": "cpu_sample_count_raw",
"interval": "1m",
"metricName": "CPUUtilization",
"namespace": "AWS/ECS",
"region": "ap-northeast-1",
"statistics": [
"SampleCount"
]
},
{
"alias": "Number of running tasks",
"dimensions": {},
"expression": "60 * cpu_sample_count_raw / PERIOD(cpu_sample_count_raw)",
"id": "cpu_sample_count",
"interval": "1m",
"metricName": "",
"namespace": "",
"region": "ap-northeast-1",
"statistics": [
"SampleCount"
]
}
],
"title": "Running tasks",
"type": "graph",
"yaxes": [
{
"format": "short"
},
{
"format": "short"
}
]
}
],
"title": "ECS Service (CloudWatch)",
"type": "row"
},
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 7,
"title": "ECS Service (cAdvisor)",
"type": "row"
},
{
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 4
},
"id": 8,
"links": [
{
"keepTime": true,
"title": "Detailed metrics",
"type": "dashboard",
"url": "/d/xxxxxxxxx/ecs-per-service-apne1?orgId=1&var-cluster=production&var-task_definition=xxxxxx"
}
],
"targets": [
{
"expr": "avg(irate(container_cpu_user_seconds_total{container_label_com_amazonaws_ecs_cluster=\"production\", container_label_com_amazonaws_ecs_task_definition_family=\"xxxxxx\"}[30s])) by (container_label_com_amazonaws_ecs_container_name)",
"format": "time_series",
"legendFormat": "{{container_label_com_amazonaws_ecs_container_name}}"
}
],
"title": "CPU time (per second)",
"type": "graph",
"yaxes": [
{
"format": "s"
},
{
"format": "short"
}
]
},
{
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 4
},
"id": 9,
"links": [
{
"keepTime": true,
"title": "Detailed metrics",
"type": "dashboard",
"url": "/d/xxxxxxxxx/ecs-per-service-apne1?orgId=1&var-cluster=production&var-task_definition=xxxxxx"
}
],
"targets": [
{
"expr": "avg(container_memory_rss{container_label_com_amazonaws_ecs_cluster=\"production\", container_label_com_amazonaws_ecs_task_definition_family=\"xxxxxx\"} / container_spec_memory_limit_bytes{container_label_com_amazonaws_ecs_cluster=\"production\", container_label_com_amazonaws_ecs_task_definition_family=\"xxxxxx\"}) by (container_label_com_amazonaws_ecs_container_name)",
"format": "time_series",
"legendFormat": "{{container_label_com_amazonaws_ecs_container_name}}"
}
],
"title": "Memory usage percent (based on RSS)",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 4
},
"id": 10,
"links": [
{
"keepTime": true,
"title": "Detailed metrics",
"type": "dashboard",
"url": "/d/xxxxxxxxx/ecs-per-service-apne1?orgId=1&var-cluster=production&var-task_definition=xxxxxx"
}
],
"targets": [
{
"expr": "count(container_last_seen{container_label_com_amazonaws_ecs_cluster=\"production\", container_label_com_amazonaws_ecs_task_definition_family=\"xxxxxx\", container_label_com_amazonaws_ecs_container_name=\"app\"})",
"format": "time_series",
"legendFormat": "Number of running tasks"
}
],
"title": "Running tasks",
"type": "graph",
"yaxes": [
{
"format": "short"
},
{
"format": "short"
}
]
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 11,
"panels": [
{
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 6
},
"id": 12,
"links": [
{
"keepTime": true,
"title": "Detailed metrics",
"type": "dashboard",
"url": "/d/xxxxxxxxx/ecs-per-service-apne1?orgId=1&var-cluster=production&var-task_definition=xxxxxx-oneshot"
}
],
"targets": [
{
"expr": "avg(irate(container_cpu_user_seconds_total{container_label_com_amazonaws_ecs_cluster=\"production\", container_label_com_amazonaws_ecs_task_definition_family=\"xxxxxx-oneshot\"}[30s])) by (container_label_com_amazonaws_ecs_container_name)",
"format": "time_series",
"legendFormat": "{{container_label_com_amazonaws_ecs_container_name}}"
}
],
"title": "CPU time (per second)",
"type": "graph",
"yaxes": [
{
"format": "s"
},
{
"format": "short"
}
]
},
{
"datasource": "prometheus",
"fill": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 6
},
"id": 13,
"links": [
{
"keepTime": true,
"title": "Detailed metrics",
"type": "dashboard",
"url": "/d/xxxxxxxxx/ecs-per-service-apne1?orgId=1&var-cluster=production&var-task_definition=xxxxxx-oneshot"
}
],
"targets": [
{
"expr": "avg(container_memory_rss{container_label_com_amazonaws_ecs_cluster=\"production\", container_label_com_amazonaws_ecs_task_definition_family=\"xxxxxx-oneshot\"} / container_spec_memory_limit_bytes{container_label_com_amazonaws_ecs_cluster=\"production\", container_label_com_amazonaws_ecs_task_definition_family=\"xxxxxx-oneshot\"}) by (container_label_com_amazonaws_ecs_container_name)",
"format": "time_series",
"legendFormat": "{{container_label_com_amazonaws_ecs_container_name}}"
}
],
"title": "Memory usage percent (based on RSS)",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
}
],
"title": "ECS Oneshot (cAdvisor)",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 6
},
"id": 14,
"panels": [
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 7
},
"id": 15,
"links": [
{
"keepTime": true,
"title": "Detailed metrics of node 0001",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=aaaaaaaaaaaaaaaaaa&var-cache_node_id=0001"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0002",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=aaaaaaaaaaaaaaaaaa&var-cache_node_id=0002"
}
],
"targets": [
{
"alias": "0001",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0001"
},
"metricName": "CPUUtilization",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0002",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0002"
},
"metricName": "CPUUtilization",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU Utilization of aaaaaaaaaaaaaaaaaa cluster",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 7
},
"id": 16,
"links": [
{
"keepTime": true,
"title": "Detailed metrics of node 0001",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=aaaaaaaaaaaaaaaaaa&var-cache_node_id=0001"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0002",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=aaaaaaaaaaaaaaaaaa&var-cache_node_id=0002"
}
],
"targets": [
{
"alias": "0001",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0001"
},
"metricName": "Evictions",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0002",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0002"
},
"metricName": "Evictions",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "Evictions of aaaaaaaaaaaaaaaaaa cluster",
"type": "graph",
"yaxes": [
{
"format": "short"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 7
},
"id": 17,
"links": [
{
"keepTime": true,
"title": "Detailed metrics of node 0001",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=aaaaaaaaaaaaaaaaaa&var-cache_node_id=0001"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0002",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=aaaaaaaaaaaaaaaaaa&var-cache_node_id=0002"
}
],
"targets": [
{
"alias": "GetHits of 0001",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0001"
},
"hide": true,
"id": "get_hits_0001",
"metricName": "GetHits",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetMisses of 0001",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0001"
},
"hide": true,
"id": "get_misses_0001",
"metricName": "GetMisses",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "0001",
"dimensions": {},
"expression": "get_hits_0001 / (get_misses_0001 + get_hits_0001)",
"id": "get_hit_ratio_0001",
"metricName": "",
"namespace": "",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetHits of 0002",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0002"
},
"hide": true,
"id": "get_hits_0002",
"metricName": "GetHits",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetMisses of 0002",
"dimensions": {
"CacheClusterId": "aaaaaaaaaaaaaaaaaa",
"CacheNodeId": "0002"
},
"hide": true,
"id": "get_misses_0002",
"metricName": "GetMisses",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "0002",
"dimensions": {},
"expression": "get_hits_0002 / (get_misses_0002 + get_hits_0002)",
"id": "get_hit_ratio_0002",
"metricName": "",
"namespace": "",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
}
],
"title": "Hit ratio of aaaaaaaaaaaaaaaaaa cluster",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 8
},
"id": 18,
"links": [
{
"keepTime": true,
"title": "Detailed metrics of node 0001",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0001"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0002",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0002"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0003",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0003"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0004",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0004"
}
],
"targets": [
{
"alias": "0001",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0001"
},
"metricName": "CPUUtilization",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0002",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0002"
},
"metricName": "CPUUtilization",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0003",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0003"
},
"metricName": "CPUUtilization",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0004",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0004"
},
"metricName": "CPUUtilization",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU Utilization of bbbbbbbbbbbbbb cluster",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 8
},
"id": 19,
"links": [
{
"keepTime": true,
"title": "Detailed metrics of node 0001",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0001"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0002",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0002"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0003",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0003"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0004",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0004"
}
],
"targets": [
{
"alias": "0001",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0001"
},
"metricName": "Evictions",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0002",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0002"
},
"metricName": "Evictions",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0003",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0003"
},
"metricName": "Evictions",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "0004",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0004"
},
"metricName": "Evictions",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "Evictions of bbbbbbbbbbbbbb cluster",
"type": "graph",
"yaxes": [
{
"format": "short"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 8
},
"id": 20,
"links": [
{
"keepTime": true,
"title": "Detailed metrics of node 0001",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0001"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0002",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0002"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0003",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0003"
},
{
"keepTime": true,
"title": "Detailed metrics of node 0004",
"type": "dashboard",
"url": "/d/xxxxxxxxx/elasticache-memcached?orgId=1&var-region=ap-northeast-1&var-cache_cluster_id=bbbbbbbbbbbbbb&var-cache_node_id=0004"
}
],
"targets": [
{
"alias": "GetHits of 0001",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0001"
},
"hide": true,
"id": "get_hits_0001",
"metricName": "GetHits",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetMisses of 0001",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0001"
},
"hide": true,
"id": "get_misses_0001",
"metricName": "GetMisses",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "0001",
"dimensions": {},
"expression": "get_hits_0001 / (get_misses_0001 + get_hits_0001)",
"id": "get_hit_ratio_0001",
"metricName": "",
"namespace": "",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetHits of 0002",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0002"
},
"hide": true,
"id": "get_hits_0002",
"metricName": "GetHits",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetMisses of 0002",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0002"
},
"hide": true,
"id": "get_misses_0002",
"metricName": "GetMisses",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "0002",
"dimensions": {},
"expression": "get_hits_0002 / (get_misses_0002 + get_hits_0002)",
"id": "get_hit_ratio_0002",
"metricName": "",
"namespace": "",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetHits of 0003",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0003"
},
"hide": true,
"id": "get_hits_0003",
"metricName": "GetHits",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetMisses of 0003",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0003"
},
"hide": true,
"id": "get_misses_0003",
"metricName": "GetMisses",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "0003",
"dimensions": {},
"expression": "get_hits_0003 / (get_misses_0003 + get_hits_0003)",
"id": "get_hit_ratio_0003",
"metricName": "",
"namespace": "",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetHits of 0004",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0004"
},
"hide": true,
"id": "get_hits_0004",
"metricName": "GetHits",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "GetMisses of 0004",
"dimensions": {
"CacheClusterId": "bbbbbbbbbbbbbb",
"CacheNodeId": "0004"
},
"hide": true,
"id": "get_misses_0004",
"metricName": "GetMisses",
"namespace": "AWS/ElastiCache",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
},
{
"alias": "0004",
"dimensions": {},
"expression": "get_hits_0004 / (get_misses_0004 + get_hits_0004)",
"id": "get_hit_ratio_0004",
"metricName": "",
"namespace": "",
"region": "ap-northeast-1",
"statistics": [
"Sum"
]
}
],
"title": "Hit ratio of bbbbbbbbbbbbbb cluster",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
}
],
"title": "Memcached",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 7
},
"id": 21,
"panels": [
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 8
},
"id": 22,
"targets": [
{
"alias": "xx-002 (db.r4.large)",
"dimensions": {
"DBInstanceIdentifier": "xx-002"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "yy (db.r4.large)",
"dimensions": {
"DBInstanceIdentifier": "yy"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU Utilization of yy cluster",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 8
},
"id": 23,
"targets": [
{
"alias": "xx-002 (db.r4.large)",
"dimensions": {
"DBInstanceIdentifier": "xx-002"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "yy (db.r4.large)",
"dimensions": {
"DBInstanceIdentifier": "yy"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "Freeable memory of yy cluster",
"type": "graph",
"yaxes": [
{
"format": "bytes"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 9
},
"id": 24,
"targets": [
{
"alias": "zzzzzzzzzzzz-002 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "zzzzzzzzzzzz-002"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "zzzzzzzzzzzz-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "zzzzzzzzzzzz-001"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU Utilization of zzzzzzzzzzzz cluster",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 9
},
"id": 25,
"nullPointMode": "connected",
"targets": [
{
"alias": "zzzzzzzzzzzz-002 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "zzzzzzzzzzzz-002"
},
"metricName": "CPUCreditBalance",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "zzzzzzzzzzzz-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "zzzzzzzzzzzz-001"
},
"metricName": "CPUCreditBalance",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU credit balance of zzzzzzzzzzzz cluster",
"type": "graph",
"yaxes": [
{
"format": "short"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 9
},
"id": 26,
"targets": [
{
"alias": "zzzzzzzzzzzz-002 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "zzzzzzzzzzzz-002"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "zzzzzzzzzzzz-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "zzzzzzzzzzzz-001"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "Freeable memory of zzzzzzzzzzzz cluster",
"type": "graph",
"yaxes": [
{
"format": "bytes"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 10
},
"id": 27,
"targets": [
{
"alias": "wwwwwwwwwwwwwwwww-002 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-002"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "wwwwwwwwwwwwwwwww-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-001"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "wwwwwwwwwwwwwwwww-batch-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-batch-001"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU Utilization of wwwwwwwwwwwwwwwww cluster",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 10
},
"id": 28,
"nullPointMode": "connected",
"targets": [
{
"alias": "wwwwwwwwwwwwwwwww-002 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-002"
},
"metricName": "CPUCreditBalance",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "wwwwwwwwwwwwwwwww-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-001"
},
"metricName": "CPUCreditBalance",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "wwwwwwwwwwwwwwwww-batch-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-batch-001"
},
"metricName": "CPUCreditBalance",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU credit balance of wwwwwwwwwwwwwwwww cluster",
"type": "graph",
"yaxes": [
{
"format": "short"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 10
},
"id": 29,
"targets": [
{
"alias": "wwwwwwwwwwwwwwwww-002 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-002"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "wwwwwwwwwwwwwwwww-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-001"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
},
{
"alias": "wwwwwwwwwwwwwwwww-batch-001 (db.t2.medium)",
"dimensions": {
"DBInstanceIdentifier": "wwwwwwwwwwwwwwwww-batch-001"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "Freeable memory of wwwwwwwwwwwwwwwww cluster",
"type": "graph",
"yaxes": [
{
"format": "bytes"
},
{
"format": "short"
}
]
}
],
"title": "RDS Cluster",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 30,
"panels": [
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 9
},
"id": 31,
"targets": [
{
"alias": "xxx (db.m4.large)",
"dimensions": {
"DBInstanceIdentifier": "xxx"
},
"metricName": "CPUUtilization",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "CPU Utilization of xxx instance",
"type": "graph",
"yaxes": [
{
"format": "percentunit"
},
{
"format": "short"
}
]
},
{
"datasource": "CloudWatch",
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 9
},
"id": 32,
"targets": [
{
"alias": "xxx (db.m4.large)",
"dimensions": {
"DBInstanceIdentifier": "xxx"
},
"metricName": "FreeableMemory",
"namespace": "AWS/RDS",
"region": "ap-northeast-1",
"statistics": [
"Average"
]
}
],
"title": "Freeable memory of xxx instance",
"type": "graph",
"yaxes": [
{
"format": "bytes"
},
{
"format": "short"
}
]
}
],
"title": "RDS Instance",
"type": "row"
}
],
"schemaVersion": 18,
"title": "Basic metrics for xxxxxx"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.