0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Cloudwatch ディメンション

Posted at

CloudWatch の ディメンション(Dimension) とは、メトリクスを識別・分類するための属性のことです。
メトリクスには必ず「名前」(例: CPUUtilization) が付きますが、それだけではどのリソースの値なのか特定できません。そこで「ディメンション」を付与してリソースを区別します。


例: EC2 の CPU 使用率メトリクス

  • メトリクス名: CPUUtilization

  • ディメンション:

    • InstanceId=i-1234567890abcdef0

同じ CPUUtilization でも、InstanceId というディメンションによって「どの EC2 インスタンスの CPU 利用率か」が識別されます。


よく使われるディメンション例

  • EC2: InstanceId
  • EBS: VolumeId
  • ELB: LoadBalancerName
  • RDS: DBInstanceIdentifier
  • Lambda: FunctionName
  • API Gateway: ApiName, Stage

特徴

  • ディメンションは最大 10 個まで 設定可能。
  • 同じメトリクス名でも、ディメンションの組み合わせでユニークなメトリクスが作られる。
  • カスタムメトリクスを送信する際にも任意のディメンションを定義可能。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?