LoginSignup
0
0

More than 5 years have passed since last update.

カスタムメトリクス即時取得

Posted at

目的

mon-put-instance-data.plを使用しているインスタンスからAMIを作成すると、そのAMIから起動したインスタンスはキャッシュTTL(default:6h、AutoScalingGroup:24h) の間、AMIを作成したインスタンスIDをキャッシュしているため、新しく起動したインスタンスからデータ取得ができないので、即時取得できるようにする。

方法

cloud-initなどuserdataで処理する

rm /var/tmp/aws-mon/instance-id
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