Skip to content

Log application component initialization - #390

Draft
sjmiller609 wants to merge 1 commit into
mainfrom
hypeship/log-app-initialization
Draft

Log application component initialization#390
sjmiller609 wants to merge 1 commit into
mainfrom
hypeship/log-app-initialization

Conversation

@sjmiller609

Copy link
Copy Markdown
Collaborator

Summary

  • log start, completion, failure, and elapsed time for each application component constructed during startup
  • pass the application logger through the Wire-generated dependency graph
  • add coverage for successful and failed initialization logs

This makes startup stalls attributable to the last component that began initialization without completing.

Tests

  • go test ./lib/providers ./cmd/api

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.

1 participant