AWSインテグレーション - ALB

MackerelはAWSインテグレーションにてElastic Load Balancingの各ロードバランサのメトリック取得や監視に対応しています。このページではそのうちApplication Load Balancer(以下ALB)についての詳細です。 AWSインテグレーションで連携をおこなった場合、課金対象として 1ALB = 1マイクロホスト と換算します。またそれに加えて、取得されるメトリックの数に応じて、1マイクロホストあたりのメトリック数上限の超過による請求が行われる場合があります。

AWSインテグレーションの設定方法や対応AWSサービス一覧についてはこちらのページをご確認ください。
AWSインテグレーション

また、Elastic Load Balancingの他のロードバランサについては、NLBELB (CLB)のそれぞれのページをご確認下さい。

取得メトリック

AWSインテグレーションのALB対応で取得できるメトリックは以下の通りです。 メトリック の説明に関してはAWSのヘルプをご確認ください。

最大で 18 + 13 × (ターゲットグループ数) 個のメトリックが取得されます。

ロードバランサーごとのグラフ

グラフ名 メトリック Mackerel上のメトリック名 単位 Statistics
Request Count RequestCount alb.request.count integer Sum
Processed Bytes ProcessedBytes alb.bytes.processed bytes Sum
HTTP Code Count HTTPCode_Target_2XX_Count
HTTPCode_Target_3XX_Count
HTTPCode_Target_4XX_Count
HTTPCode_Target_5XX_Count
HTTPCode_ELB_4XX_Count
HTTPCode_ELB_5XX_Count
alb.httpcode_count.target_2xx
alb.httpcode_count.target_3xx
alb.httpcode_count.target_4xx
alb.httpcode_count.target_5xx
alb.httpcode_count.alb_4xx
alb.httpcode_count.alb_5xx
integer Sum
Concurrent Connection Count ActiveConnectionCount alb.concurrent_connection_count.active integer Sum
Connection Count NewConnectionCount
RejectedConnectionCount
alb.connection_count.new
alb.connection_count.rejected
Integer Sum
Target Response Time TargetResponseTime alb.response.time
alb.response.time_p90
alb.response.time_p95
alb.response.time_p99
float Average
p90
p95
p99
TLS Negotiation Error Count ClientTLSNegotiationErrorCount
TargetTLSNegotiationErrorCount
alb.tls_negotiation_error_count.client
alb.tls_negotiation_error_count.target
integer Sum
Target Connection Error Count TargetConnectionErrorCount alb.connection_error_count.target integer Sum

ターゲットグループごとのグラフ

Application Load Balancerではロードバランサーごとに複数のターゲットグループを持つことができるので、それぞれのメトリックは以下のようにグルーピングされます。メトリック名の TARGET_GROUP_NAME にターゲットグループの名前が入ります。

グラフ名 メトリック Mackerel上のメトリック名 単位 Statistics
Request Count per Target Group RequestCount alb.request_per_group.TARGET_GROUP_NAME.count integer Sum
Request Average per Target RequestCountPerTarget alb.request_average_per_target.TARGET_GROUP_NAME.average float Sum
HTTP Code Count per Target Group HTTPCode_Target_2XX_Count
HTTPCode_Target_3XX_Count
HTTPCode_Target_4XX_Count
HTTPCode_Target_5XX_Count
alb.httpcode_count_per_group.TARGET_GROUP_NAME.target_2xx
alb.httpcode_count_per_group.TARGET_GROUP_NAME.target_3xx
alb.httpcode_count_per_group.TARGET_GROUP_NAME.target_4xx
alb.httpcode_count_per_group.TARGET_GROUP_NAME.target_5xx
integer Sum
Target Response Time per Target Group TargetResponseTime alb.response_per_group.TARGET_GROUP_NAME.time
alb.response_per_group.TARGET_GROUP_NAME.time_p90
alb.response_per_group.TARGET_GROUP_NAME.time_p95
alb.response_per_group.TARGET_GROUP_NAME.time_p99
float Average
p90
p95
p99
TLS Negotiation Error Count per Target Group TargetTLSNegotiationErrorCount alb.tls_negotiation_error_count_per_group.TARGET_GROUP_NAME.count integer Sum
Host Count HealthyHostCount
UnHealthyHostCount
alb.host_count.TARGET_GROUP_NAME.healthy
alb.host_count.TARGET_GROUP_NAME.unhealthy
float Average