templates/cloudwatch-dashboard.template.yaml [240:355]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ClickHouse Cluster EC2 Instance Network"
              }
            },
            {
              "type":"metric",
              "x":0,
              "y":12,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "cpu_usage_user", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_system", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_user", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_system", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_user", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_system", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance CPU"
              }
            },
            {
              "type":"metric",
              "x":12,
              "y":12,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "mem_used_percent", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "mem_used_percent", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "mem_used_percent", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance Mem"
              }
            },
            {
              "type":"metric",
              "x":0,
              "y":18,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "diskio_writes", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_writes", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_writes", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_reads", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_reads", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_reads", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance DiskIO"
              }
            },
            {
              "type":"metric",
              "x":12,
              "y":18,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "net_bytes_sent", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_sent", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_sent", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_recv", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_recv", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_recv", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance Network"
              }
            },
            {
              "type": "log",
              "x": 0,
              "y": 24,
              "width": 12,
              "height": 6,
              "properties": {
                  "region": "${AWS::Region}",
                  "title": "ClickHouse Cluster Application Log",
                  "query": "SOURCE 'ClickHouseLogGroup' | fields @logStream, @message, @timestamp | sort @timestamp desc ",
                  "view": "table"
              }
            },
            {
              "type": "log",
              "x": 12,
              "y": 24,
              "width": 12,
              "height": 6,
              "properties": {
                  "region": "${AWS::Region}",
                  "title": "ZooKeeper Cluster Application Log",
                  "query": "SOURCE 'ZookeeperLogGroup' | fields @logStream, @message, @timestamp | sort @timestamp desc ",
                  "view": "table"
              }
            }
          ]
        }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/cloudwatch-dashboard.template.yaml [897:1012]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ClickHouse Cluster EC2 Instance Network"
              }
            },
            {
              "type":"metric",
              "x":0,
              "y":12,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "cpu_usage_user", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_system", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_user", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_system", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_user", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "cpu_usage_system", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "cpu", "cpu-total", "InstanceType", "${ZookeeperInstanceType}"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance CPU"
              }
            },
            {
              "type":"metric",
              "x":12,
              "y":12,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "mem_used_percent", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "mem_used_percent", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "mem_used_percent", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance Mem"
              }
            },
            {
              "type":"metric",
              "x":0,
              "y":18,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "diskio_writes", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_writes", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_writes", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_reads", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_reads", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"],
                  ["ZookeeperNamespace", "diskio_reads", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "name", "nvme0n1", "InstanceType", "${ZookeeperInstanceType}"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance DiskIO"
              }
            },
            {
              "type":"metric",
              "x":12,
              "y":18,
              "width":12,
              "height":6,
              "properties":{
                "metrics":[
                  ["ZookeeperNamespace", "net_bytes_sent", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_sent", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_sent", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_recv", "InstanceId", "${ZookeeperInstanceID1}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_recv", "InstanceId", "${ZookeeperInstanceID2}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"],
                  ["ZookeeperNamespace", "net_bytes_recv", "InstanceId", "${ZookeeperInstanceID3}", "ImageId", "${ZookeeperImageId}", "InstanceType", "${ZookeeperInstanceType}", "interface", "eth0"]
                ],
                "period":300,
                "stat":"Average",
                "region":"${AWS::Region}",
                "title":"ZooKeeper Cluster EC2 Instance Network"
              }
            },
            {
              "type": "log",
              "x": 0,
              "y": 24,
              "width": 12,
              "height": 6,
              "properties": {
                  "region": "${AWS::Region}",
                  "title": "ClickHouse Cluster Application Log",
                  "query": "SOURCE 'ClickHouseLogGroup' | fields @logStream, @message, @timestamp | sort @timestamp desc ",
                  "view": "table"
              }
            },
            {
              "type": "log",
              "x": 12,
              "y": 24,
              "width": 12,
              "height": 6,
              "properties": {
                  "region": "${AWS::Region}",
                  "title": "ZooKeeper Cluster Application Log",
                  "query": "SOURCE 'ZookeeperLogGroup' | fields @logStream, @message, @timestamp | sort @timestamp desc ",
                  "view": "table"
              }
            }
          ]
        }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



