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 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则