aws-samples / aws-samples/amazon-cloudwatch-container-insights

Override Container Insights Metrics

Open
#7 16 comments 20 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
178
Forks
117
Avg merge
1d 10h
Merged PRs (30d)
3

Description

Can you please post the default configuration for the `metrics` section of the config json so that we can override it? The default is more than we need and the costs are prohibitive.

```json
{
"agent": {
"region": "${var.aws_region}"
},
"metrics": {
???
},
"logs": {
"metrics_collected": {
"kubernetes": {
"cluster_name": "${var.cluster_name}",
"metrics_collection_interval": 60
}
},
"force_flush_interval": 5
}
}
```

It would be nice if there was an exclude as it would be easier to configure this way. I don't need disk or network stats, for example.

Contributor guide

Open the contributing guide

Research direction

Start with the metrics section of the config JSON shown in the issue and the repository's Kubernetes YAML templates. Determine where the default Container Insights metrics are defined and how configuration overrides are passed through. Done means users can override the defaults, including omitting disk and network metrics, with documented behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes
Domain
cloud, devops, observability-sre
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.