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

libgit2: add contextual logging to subtransports #778

Merged
merged 2 commits into from
Jun 14, 2022

Commits on Jun 13, 2022

  1. libgit2: improve subtransport logging

    Debugging connection issues can be extremely difficult, even more so at scale or when
    concurrent connections are required to trigger specific issues.
    
    Changes:
    - Add a correlation identifier for each reconciliation, which allows for greater traceability when
    going through all the reconciliation operations - including at transport level.
    - Add transportType to segregate HTTP and SSH transport logging.
    - SSH operations are now enriched with addr containing server address, and HTTP url.
    
    Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
    Paulo Gomes committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    cea9ea9 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Add reconcileID to all reconcilers

    GitRepository introduced correlation ID to improve
    transport level logging. This change aligns the other
    reconcilers to the same approach.
    
    Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
    Paulo Gomes committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    42dcb87 View commit details
    Browse the repository at this point in the history