Yet another cloudwatch exporterのメトリック定義ファイル(metrics_ya_cloudwatch_exporter.conf)
JP1/IM - Agentの「Yet another cloudwatch exporterのメトリック定義ファイル(metrics_ya_cloudwatch_exporter.conf)」に関して,IMエクスポーターがAWSのリソースに対して追加でサポートするメトリック定義について記載します。そのほかの仕様については,IMエクスポーターによる変更はありません。
- 〈このページの構成〉
モデルファイルの設定内容(初期状態)とアラート定義例
Yet another cloudwatch exporterのメトリック定義ファイルのモデルファイルに記述されている各メトリックの設定内容(初期状態)とアラート定義例(アラート設定ファイル)を,次に示します。
-
aws_ebs_volume_read_bytes_sum
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_ebs_volume_read_bytes_sum
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_ebs_volume_read_bytes_sum and $jp1im_TrendData_labels
resource_en
category
aws_ebs
label
Number of bytes read
description
Total number of bytes transferred in read operations over the specified time period. For details, see the description of the VolumeReadBytes metric for AWS/EBS.
unit
byte
resource_ja
category
aws_ebs
label
読み取りバイト数
description
指定された期間の読み取りオペレーションで転送されたバイトの総数。詳細はAWS/EBSのVolumeReadBytesメトリックの説明を参照してください。
unit
byte
cloud_srv
AWS/EBS
-
aws_ebs_volume_write_bytes_sum
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_ebs_volume_write_bytes_sum
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_ebs_volume_write_bytes_sum and $jp1im_TrendData_labels
resource_en
category
aws_ebs
label
Number of bytes written
description
Total number of bytes transferred in write operations over the specified time period. For details, see the description of the VolumeWriteBytes metric for AWS/EBS.
unit
byte
resource_ja
category
aws_ebs
label
書き込みバイト数
description
指定された期間の書き込みオペレーションで転送されたバイトの総数。詳細はAWS/EBSのVolumeWriteBytesメトリックの説明を参照してください。
unit
byte
cloud_srv
AWS/EBS
-
aws_ecs_cpuutilization_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_ecs_cpuutilization_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_ecs_cpuutilization_average and $jp1im_TrendData_labels
resource_en
category
aws_ecs
label
CPU utilization
description
Percentage of CPU used by the cluster or service. For details, see the description of the CPUUtilization metric for AWS/ECS.
unit
%
resource_ja
category
aws_ecs
label
CPU使用率
description
クラスターやサービスで使用されているCPUの割合。詳細はAWS/ECSのCPUUtilizationメトリックの説明を参照してください。
unit
%
cloud_srv
AWS/ECS
■アラート定義例※
groups: - name: yet_another_cloudwatch_exporter rules: - alert: aws_ecs_cpuutilization_average(Yet another cloudwatch exporter) expr: 80 < aws_ecs_cpuutilization_average for: 3m labels: jp1_pc_product_name: "/HITACHI/JP1/JPCCS2" jp1_pc_severity: "Error" jp1_pc_eventid: "0614" jp1_pc_metricname: "aws_ecs_cpuutilization_average" annotations: jp1_pc_firing_description: "CPU使用率がしきい値(80%)を上回りました。value={{ $value }}%" jp1_pc_resolved_description: "CPU使用率がしきい値(80%)を下回りました。- 注※
-
複数のアラートを同一の統合エージェントホストで定義する場合,「groups:」を重複して指定したり,同じグループ名を指定したnameを重複して指定したりしないように注意してください。
-
aws_ecs_memory_utilization_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_ecs_memory_utilization_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_ecs_memory_utilization_average and $jp1im_TrendData_labels
resource_en
category
aws_ecs
label
Memory utilization
description
Percentage of memory utilized by the cluster or service. For details, see the description of the MemoryUtilization metric for AWS/ECS.
unit
%
resource_ja
category
aws_ecs
label
メモリ使用率
description
クラスターやサービスで利用されるメモリの割合。詳細はAWS/ECSのMemoryUtilizationメトリックの説明を参照してください。
unit
%
cloud_srv
AWS/ECS
■アラート定義例※
groups: - name: yet_another_cloudwatch_exporter rules: - alert: aws_ecs_memory_utilization_average(Yet another cloudwatch exporter) expr: 80 < aws_ecs_memory_utilization_average for: 3m labels: jp1_pc_product_name: "/HITACHI/JP1/JPCCS2" jp1_pc_severity: "Error" jp1_pc_eventid: "0615" jp1_pc_metricname: "aws_ecs_memory_utilization_average" annotations: jp1_pc_firing_description: "メモリ使用率がしきい値(80%)を上回りました。value={{ $value }}%" jp1_pc_resolved_description: "メモリ使用率がしきい値(80%)を下回りました。"- 注※
-
複数のアラートを同一の統合エージェントホストで定義する場合,「groups:」を重複して指定したり,同じグループ名を指定したnameを重複して指定したりしないように注意してください。
-
aws_efs_total_iobytes_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_efs_total_iobytes_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_efs_total_iobytes_average and $jp1im_TrendData_labels
resource_en
category
aws_efs
label
Total bytes
description
The actual number of bytes for each file system operation, including read data, write data, and metadata operations. For details, see the description of the TotalIOBytes metric for AWS/EFS.
unit
byte
resource_ja
category
aws_efs
label
トータルバイト数
description
読み取りデータ,書き込みデータ,メタデータオペレーションを含む,各ファイルシステムオペレーションの実際のバイト数。詳細はAWS/EFSのTotalIOBytesメトリックの説明を参照してください。
unit
byte
cloud_srv
AWS/EFS
-
aws_efs_storage_bytes_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_efs_storage_bytes_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_efs_storage_bytes_average and $jp1im_TrendData_labels
resource_en
category
aws_efs
label
Storage usage
description
File system size in bytes. For details, see the description of the StorageBytes metric for AWS/EFS.
unit
byte
resource_ja
category
aws_efs
label
使用量
description
ファイルシステムのサイズ(バイト単位)。詳細はAWS/EFSのStorageBytesメトリックの説明を参照してください。
unit
byte
cloud_srv
AWS/EFS
-
aws_fsx_data_read_bytes_sum
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_fsx_data_read_bytes_sum
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_fsx_data_read_bytes_sum and $jp1im_TrendData_labels
resource_en
category
aws_fsx
label
Number of bytes read
description
Number of bytes in file system read operations. For details, see the description of the DataReadBytes metric for AWS/FSx.
unit
byte
resource_ja
category
aws_fsx
label
読み取りバイト数
description
ファイルシステムの読み取りオペレーションのバイト数。詳細はAWS/FSxのDataReadBytesメトリックの説明を参照してください。
unit
byte
cloud_srv
AWS/FSx
-
aws_fsx_data_write_bytes_sum
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_fsx_data_write_bytes_sum
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_fsx_data_write_bytes_sum and $jp1im_TrendData_labels
resource_en
category
aws_fsx
label
Number of bytes written
description
Number of bytes in file system write operations. For details, see the description of the DataWriteBytes metric for AWS/FSx.
unit
byte
resource_ja
category
aws_fsx
label
書き込みバイト数
description
ファイルシステムの書き込みオペレーションのバイト数。詳細はAWS/FSxのDataWriteBytesメトリックの説明を参照してください。
unit
byte
cloud_srv
AWS/FSx
-
aws_fsx_free_storage_capacity_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_fsx_free_storage_capacity_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_fsx_free_storage_capacity_average and $jp1im_TrendData_labels
resource_en
category
aws_fsx
label
Free space
description
Available storage capacity. For details, see the description of the FreeStorageCapacity metric for AWS/FSx.
unit
byte
resource_ja
category
aws_fsx
label
空き容量
description
使用できるストレージ容量。詳細はAWS/FSxのFreeStorageCapacityメトリックの説明を参照してください。
unit
byte
cloud_srv
AWS/FSx
-
aws_rds_cpuutilization_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_rds_cpuutilization_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_rds_cpuutilization_average and $jp1im_TrendData_labels
resource_en
category
aws_rds
label
CPU utilization
description
CPU utilization. For details, see the description of the CPUUtilization metric for AWS/RDS.
unit
%
resource_ja
category
aws_rds
label
CPU使用率
description
CPU使用率。詳細はAWS/RDSのCPUUtilizationメトリックの説明を参照してください。
unit
%
cloud_srv
AWS/RDS
■アラート定義例※
groups: - name: yet_another_cloudwatch_exporter rules: - alert: aws_rds_cpuutilization_average(Yet another cloudwatch exporter) expr: 80 < aws_rds_cpuutilization_average for: 3m labels: jp1_pc_product_name: "/HITACHI/JP1/JPCCS2" jp1_pc_severity: "Error" jp1_pc_eventid: "0616" jp1_pc_metricname: "aws_rds_cpuutilization_average" annotations: jp1_pc_firing_description: "CPU使用率がしきい値(80%)を上回りました。value={{ $value }}%" jp1_pc_resolved_description: "CPU使用率がしきい値(80%)を下回りました。"- 注※
-
複数のアラートを同一の統合エージェントホストで定義する場合,「groups:」を重複して指定したり,同じグループ名を指定したnameを重複して指定したりしないように注意してください。
-
aws_rds_read_iops_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_rds_read_iops_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_rds_read_iops_average and $jp1im_TrendData_labels
resource_en
category
aws_rds
label
Read IOPS
description
Average number of disk read I/O operations per second. For details, see the description of the ReadIOPS metric for AWS/RDS.
unit
count/second
resource_ja
category
aws_rds
label
読み取りIOPS
description
1秒あたりのディスク読み取りI/O操作の平均回数。詳細はAWS/RDSのReadIOPSメトリックの説明を参照してください。
unit
個/秒
cloud_srv
AWS/RDS
-
aws_rds_write_iops_average
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_rds_write_iops_average
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_rds_write_iops_average and $jp1im_TrendData_labels
resource_en
category
aws_rds
label
Write IOPS
description
Average number of disk write I/O operations per second. For details, see the description of the WriteIOPS metric for AWS/RDS.
unit
count/second
resource_ja
category
aws_rds
label
書き込みIOPS
description
1秒あたりのディスク書き込みI/O操作の平均回数。詳細はAWS/RDSのWriteIOPSメトリックの説明を参照してください。
unit
個/秒
cloud_srv
AWS/RDS
-
aws_sns_number_of_notifications_failed_sum
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_sns_number_of_notifications_failed_sum
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_sns_number_of_notifications_failed_sum and $jp1im_TrendData_labels
resource_en
category
aws_sns
label
Number of failed notifications
description
The number of messages that Amazon SNS failed to deliver. For details, see the description of the NumberOfNotificationsFailed metric for AWS/SNS.
unit
count
resource_ja
category
aws_sns
label
失敗したメッセージ数
description
Amazon SNS が配信に失敗したメッセージの数。詳細はAWS/SNSのNumberOfNotificationsFailedメトリックの説明を参照してください。
unit
個
cloud_srv
AWS/SNS
■アラート定義例※
groups: - name: yet_another_cloudwatch_exporter rules: - alert: aws_sns_number_of_notifications_failed_sum(Yet another cloudwatch exporter) expr: 0 < aws_sns_number_of_notifications_failed_sum for: 3m labels: jp1_pc_product_name: "/HITACHI/JP1/JPCCS2" jp1_pc_severity: "Error" jp1_pc_eventid: "0617" jp1_pc_metricname: "aws_sns_number_of_notifications_failed_sum" annotations: jp1_pc_firing_description: "失敗したメッセージ数がしきい値(0個)を上回りました。value={{ $value }}個" jp1_pc_resolved_description: "失敗したメッセージ数がしきい値(0個)を下回りました。"- 注※
-
複数のアラートを同一の統合エージェントホストで定義する場合,「groups:」を重複して指定したり,同じグループ名を指定したnameを重複して指定したりしないように注意してください。
-
aws_sns_number_of_notifications_filtered_out_sum
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
aws_sns_number_of_notifications_filtered_out_sum
default
FALSE
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
aws_sns_number_of_notifications_filtered_out_sum and $jp1im_TrendData_labels
resource_en
category
aws_sns
label
Number of filterd out notifications
description
Number of messages rejected by subscription filter policy. For details, see the description of the NumberOfNotificationsFilteredOut metric for AWS/SNS.
unit
count
resource_ja
category
aws_sns
label
拒否されたメッセージ数
description
サブスクリプションフィルターポリシーによって拒否されたメッセージの数。詳細はAWS/SNSのNumberOfNotificationsFilteredOutメトリックの説明を参照してください。
unit
個
cloud_srv
AWS/SNS
■アラート定義例※
groups: - name: yet_another_cloudwatch_exporter rules: - alert: aws_sns_number_of_notifications_filtered_out_sum(Yet another cloudwatch exporter) expr: 0 < aws_sns_number_of_notifications_filtered_out_sum for: 3m labels: jp1_pc_product_name: "/HITACHI/JP1/JPCCS2" jp1_pc_severity: "Error" jp1_pc_eventid: "0618" jp1_pc_metricname: "aws_sns_number_of_notifications_filtered_out_sum" annotations: jp1_pc_firing_description: "拒否されたメッセージ数がしきい値(0個)を上回りました。value={{ $value }}個" jp1_pc_resolved_description: "拒否されたメッセージ数がしきい値(0個)を下回りました。"- 注※
-
複数のアラートを同一の統合エージェントホストで定義する場合,「groups:」を重複して指定したり,同じグループ名を指定したnameを重複して指定したりしないように注意してください。