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

Add standard tags to ECS logs #22

Merged
merged 7 commits into from
May 28, 2024
Merged

Conversation

Lulu413
Copy link

@Lulu413 Lulu413 commented May 16, 2024

Issue #, if available:
Want ECS lgos to come with standard stags.

Description of changes:
Attach additional resource tags to the logs. This PR adds the necessary env variables are set in the deploy script

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

@Lulu413 Lulu413 changed the title add application_id tag Add standard tags to ECS logs May 16, 2024
@Lulu413 Lulu413 requested a review from mallyx3 May 16, 2024 15:21
Copy link

@chengchengmu chengchengmu left a comment

Choose a reason for hiding this comment

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

LGTM with nit

enricher/ecs/ecs.go Outdated Show resolved Hide resolved
enricher/ecs/ecs.go Show resolved Hide resolved
ecsTaskFamily: ecsTaskFamily,
ecsTaskRevision: ecsTaskRevision,
canvaAWSAccount: os.Getenv("CANVA_AWS_ACCOUNT"),
canvaApplicationId: os.Getenv("CANVA_APP_ID"),
Copy link

Choose a reason for hiding this comment

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

Needs to be updated to reflect change in https://github.com/Canva/canva/pull/507179

@Lulu413 Lulu413 merged commit df58fc3 into mainline May 28, 2024
1 check passed
@Lulu413 Lulu413 deleted the louise.h-fluentbit-enricher-tags branch May 28, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants