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 logging sidecar #440

Open
josefaidt opened this issue Apr 14, 2023 · 1 comment
Open

add logging sidecar #440

josefaidt opened this issue Apr 14, 2023 · 1 comment
Labels
area: infra Issue pertains to infrastructure (CDK) status: researching Researching issue type: feature-request New feature or request

Comments

@josefaidt
Copy link
Contributor

Describe the Feature

Add a sidecar container to each of the tasks in the project to read logs and capture errors:

  1. read logs from main container
  2. capture errors and store in DynamoDB using a service identifier

needs:

  • sidecar container definition
  • sidecar container service (write the code)
  • dynamodb table to hold errors

questions:

  • if the primary container exits, does the sidecar also exit? Will we be able to still capture the error before the task is spun back up?
@josefaidt josefaidt added needs: triage type: feature-request New feature or request area: infra Issue pertains to infrastructure (CDK) status: on-hold Issue is on-hold and not currently planned to be implemented and removed needs: triage labels Apr 14, 2023
@josefaidt
Copy link
Contributor Author

probably should introduce something like winston to log to a file rather than redirecting output from the container process https://www.npmjs.com/package/winston

@josefaidt josefaidt added status: researching Researching issue and removed status: on-hold Issue is on-hold and not currently planned to be implemented labels Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infra Issue pertains to infrastructure (CDK) status: researching Researching issue type: feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant