coder / coder/internal

Improve tailnet logging

Open
#1,294 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Improve `tailnet` logging, allowing Coder support and Coder admins to easily distinguish normal versus abnormal networking events

* Include descriptions of Peers that we tunnel to. It’s often the case that there are multiple connections being made in an agent log file, and we’re not sure which one the customer or user was complaining about. This will require protocol changes to send this information.
* Improve logging so that we always include the node-key identifier when logging about Peers. There are two different identifiers used (for historical reasons), and so it’s hard to search the file and get the whole story.
* Ensure that INFO logs tell the important connection events including establishment of the tunnels and disconnections.
* Improve messages to make it clear that “disconnection” is a graceful disconnect, and “lost” is an unexpected thing.
* Log at WARN if peers are lost.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.