1
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?

containerInsightsDCGMExporterScraperやcontainerInsightsNeuronMonitorScraperの収集を停止する

Posted at

EKSアドオンのAmazon CloudWatch 観測可能エージェント(amazon-cloudwatch-observability)を使い、強化されたオブザーバビリティを有効にしたCloudwatch Agentに以下のログがでてしまう。

2025-04-28T05:05:04Z W! {"caller":"internal/transaction.go:129","msg":"Failed to scrape Prometheus endpoint","kind":"receiver","name":"awscontainerinsightreceiver","data_type":"metrics","scrape_timestamp":1745816704540,"target_labels":"{__name__=\"up\", instance=\"dcgm-exporter-service.amazon-cloudwatch.svc:9400\", job=\"containerInsightsDCGMExporterScraper\"}"}
2025-04-28T05:05:43Z W! {"caller":"internal/transaction.go:129","msg":"Failed to scrape Prometheus endpoint","kind":"receiver","name":"awscontainerinsightreceiver","data_type":"metrics","scrape_timestamp":1745816743001,"target_labels":"{__name__=\"up\", instance=\"neuron-monitor-service.amazon-cloudwatch.svc:8000\", job=\"containerInsightsNeuronMonitorScraper\"}"}

これらのメトリクス収集を停止する方法が「高速コンピューティングメトリクスの収集をオプトアウトする」に書いてある。

アドオンの高度な設定で以下のようなJSONを設定すれば出なくなる。

{
  "agent": {
    "config": {
      "logs": {
        "metrics_collected": {
          "kubernetes": {
            "enhanced_container_insights": true,
            "accelerated_compute_metrics": false
          }
        }
      }
    }
  }
}
1
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
1
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?