我想通过Prometheus监视来监视AWS经典负载均衡器是否具有处于服务状态的实例。我想看看不健康的计数吗?
如果可以,有人可以告诉我设置此步骤的步骤吗?
我尝试使用此导出器https://github.com/prometheus/cloudwatch_exporter,但只有这些指标
# HELP aws_elb_request_count_sum CloudWatch metric AWS/ELB RequestCount Dimensions: [AvailabilityZone, LoadBalancerName] Statistic: Sum Unit: Count
# TYPE aws_elb_request_count_sum gauge
aws_elb_request_count_sum{job="aws_elb",instance="",load_balancer_name="xxxxxxxx",availability_zone="us-east-1d",} 2912.0 1594250760000
aws_elb_request_count_sum{job="aws_elb",instance="",load_balancer_name="xxxxxx",availability_zone="us-east-1c",} 6164.0 1594250760000
aws_elb_request_count_sum{job="aws_elb",instance="",load_balancer_name="xxxx",availability_zone="us-east-1a",} 3136.0 1594250760000
# HELP cloudwatch_exporter_scrape_duration_seconds Time this CloudWatch scrape took, in seconds.
# TYPE cloudwatch_exporter_scrape_duration_seconds gauge
cloudwatch_exporter_scrape_duration_seconds 1.1156988
# HELP cloudwatch_exporter_scrape_error Non-zero if this scrape failed.
# TYPE cloudwatch_exporter_scrape_error gauge
cloudwatch_exporter_scrape_error 0.0
# HELP tagging_api_requests_total API requests made to the Resource Groups Tagging API
# TYPE tagging_api_requests_total counter
# HELP cloudwatch_requests_total API requests made to CloudWatch
# TYPE cloudwatch_requests_total counter