Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ecs][prometheus] Add ContainerInsight ECS Prometheus #308

Merged
merged 7 commits into from
Jun 24, 2021

Conversation

pingleig
Copy link
Member

Terraform

  • We should be able to use 1.0.0 now

VPC

  • allow ingress within VPC so prometheus can scrape targets

ECS

Prometheus

  • use EKS's metrics validator
  • use TasDefinitionFamily as log event key for look up schema

Tested using my own account, for github action, we need to update security group.

pingleig added 6 commits June 16, 2021 15:44
- Run extra apps as service, i.e., no longer run collector as sidecar
- Add templates for extra sample apps
- NOT tested, jusrt porting previous unmerged PRs
For cloudwatch container insights
Should use taskDefinitionFamily directly, copied namespace from eks ...
@pingleig pingleig changed the title [ecs][prometheus] Add Container ECS Prometheus [ecs][prometheus] Add ContainerInsight ECS Prometheus Jun 18, 2021
Comment on lines +78 to +83
if (cwContext.getNginx() != null) {
apps.add(cwContext.getNginx());
}
if (cwContext.getJmx() != null) {
apps.add(cwContext.getJmx());
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we only verify 2 kind of workloads?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't verify nginx plus unless we change a email every 30 days to get a trail. The app mesh environment is too hard to setup using terraform and is not that useful because as long as one workload is running, it should works for other, the discovery and scraping mechanism is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants