Using extended agent configuration with CloudWatch Observability EKS add-on

1

While testing AWS CloudWatch Container Insights with Enhanced Observability I felt the urge to provide a configuration with a better fit to our needs. Reading through the linked aws-observability best-practices guides, a section about "Cost savings with Container Insights on Amazon EKS" was very interesting. In particular the subsection called: "Customize Metrics and Dimensions".

The metric_declaration solution presented there seems easy to understand and very straight forward. However, nowadays, after the release of CloudWatch Container Insights with Enhanced Observability, it seems to me the presented guides are out of date.

Why? Because I believe if one follows the suggested installation method (EKS add-on), the otel-agent-conf documented in the guide is not used anymore.

But, looking at the log of the deployed cloudwatch-agent, it still uses the awsemfexporter. Hence, I believe it should be possible to use the described metric_declaration:

https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/5ccdbe08c6a2a43b7c6c7f9c0031a4b0348394a9/exporter/awsemfexporter/README.md#metric_declaration

I would be very thankful if someone could help me understand how we could move forward here. Because the number of metrics Container Insights gathers which are not useful for use is very hight, therefore creating unnecessary hight costs.

已提問 1 個月前檢視次數 469 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南