aws / aws/eks-charts

[aws-cloudwatch-metrics] Support all options in cwagentconfig.json

Open
#413 0 comments 10 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
1.3k
Forks
1.1k
Avg merge
22m
Merged PRs (30d)
5

Description

As per the [docs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-metrics.html#create-configmap), the `cwagentconfig.json` supports options such as `logs.endpoint_override`, `agent` and `metrics`:

```json
{
"agent": {
"region": "us-east-1"
},
"logs": {
"metrics_collected": {
"kubernetes": {
"cluster_name": "MyCluster",
"metrics_collection_interval": 60
}
},
"force_flush_interval": 5,
"endpoint_override": "logs.us-east-1.amazonaws.com"
},
"metrics": {
"metrics_collected": {
"statsd": {
"service_address": ":8125"
}
}
}
}
```

These options are not currently supported by the chart but should be.

Contributor guide

Open the contributing guide

Research direction

Start with the chart's current handling of cwagentconfig.json and compare it with the AWS configuration documentation linked in the issue. Check how the agent, logs, and metrics options in the example are represented, then verify that the supported configuration covers the documented options and remains valid JSON.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.