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

Cost monitoring with kubecost and AMP #154

Merged
merged 30 commits into from
Apr 30, 2024

Conversation

Howlla
Copy link
Contributor

@Howlla Howlla commented Mar 21, 2024

*Issue #, if available:*#18

Description of changes: Brand new pattern using congito for auth, amp for storage and kubecost for visualization of cost metrics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

@Howlla @arunvthangaraj Approach looks good but lot of cleanup required on code for tactical and standard alignment. I will provide more feedback once the pattern works.

bin/single-new-eks-awsnative-cost-monitoring.ts Outdated Show resolved Hide resolved
lib/single-new-eks-cost-monitoring-pattern/index.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
lib/single-new-eks-cost-monitoring-pattern/index.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

@Howlla Need some changes to this pattern. I have highlighted the changes. We should maek this work with Kubecost free version.

lib/common/resources/otel-collector-config.yml Outdated Show resolved Hide resolved
bin/single-new-eks-cost-monitoring.ts Outdated Show resolved Hide resolved
@Howlla
Copy link
Contributor Author

Howlla commented Apr 1, 2024

Please review @elamaran11

Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

@Howlla Very nice work, appreciate all the hardword. Have some comments to work on:

  1. Merge conflicts, please pull latest code from main and remove unnecessary files from PR.
  2. Documentation needs to improve and not clearing explaining the purpose.
  3. Add more screenshots on showing cost mon with Kubecost
  4. Some unnecessary commented lines

@Howlla
Copy link
Contributor Author

Howlla commented Apr 7, 2024

Please review ela, made required changes

Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

@Howlla Everthing looks great from Pattern perspective. The architecture diagram is from another kubecost pattern and missing AMP, AMG monitoring references. Also please add more screenshots from Kubecost to make it complete. Once these two are done, we can proceed to E2E and merge.

@elamaran11
Copy link
Contributor

/do-e2e-test single-new-eks-fargate-opensource-observability deploy

@elamaran11
Copy link
Contributor

/do-e2e-test single-new-eks-fargate-opensource-observability destroy

@Howlla Howlla requested a review from elamaran11 April 29, 2024 22:00
Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

@Howlla Looks great, just fix the command issue and also fix the GH Action errors. I can run e2e for new pattern.

Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

Reason for GH Action failure.

cdk.json Outdated Show resolved Hide resolved
@elamaran11
Copy link
Contributor

/do-e2e-test single-new-eks-cost-monitoring deploy single-new-eks-cost-monitoring-observability-accelerator

@elamaran11
Copy link
Contributor

/do-e2e-test single-new-eks-opensource-observability deploy

Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

@Howlla Typo error in folder name its cognito and not congito.

Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

One more comment.

@elamaran11
Copy link
Contributor

/do-e2e-test single-new-eks-cost-monitoring deploy

@elamaran11
Copy link
Contributor

e2e failure is know. Everything looks good. Good to Merge.

Copy link
Contributor

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

LGTM

@elamaran11 elamaran11 merged commit b9bc063 into aws-observability:main Apr 30, 2024
2 of 3 checks passed
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.

3 participants