最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to update CloudWatch Observability add-on's configuration in Amazon EKS - Stack Overflow

programmeradmin5浏览0评论

I'm trying to update the CloudWatch Observability add-on's configuration in Amazon EKS, to be able to collect metrics at a higher interval than the default of 1 minute.

From the AWS docs on Manually create or edit the CloudWatch agent configuration file, I'm aware that I'll need to to update agent.metrics_collection_interval in CloudWatch agent's JSON config, but I'm not able to identify how this can be set when using the CloudWatch Observability add-on in EKS.

I'm trying to update the CloudWatch Observability add-on's configuration in Amazon EKS, to be able to collect metrics at a higher interval than the default of 1 minute.

From the AWS docs on Manually create or edit the CloudWatch agent configuration file, I'm aware that I'll need to to update agent.metrics_collection_interval in CloudWatch agent's JSON config, but I'm not able to identify how this can be set when using the CloudWatch Observability add-on in EKS.

Share Improve this question asked 21 hours ago FaheelFaheel 2,5631 gold badge25 silver badges36 bronze badges
Add a comment  | 

1 Answer 1

Reset to default -1

After going through the AWS docs for Upgrading to Container Insights with enhanced observability for Amazon EKS in CloudWatch and doing some trial and error, I found out that the CloudWatch add-on's config can be updated by running:

kubectl edit cm cloudwatch-agent -n amazon-cloudwatch

and then updating the agent's config in the data["cwagentconfig.json"] field.

发布评论

评论列表(0)

  1. 暂无评论