sockstats: add labels for netlog and sockstatlog packages

Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
Will Norris
2023-03-29 14:28:30 -07:00
committed by Will Norris
parent 38e4d303a2
commit e99c7c3ee5
4 changed files with 19 additions and 12 deletions

View File

@@ -125,6 +125,7 @@ func NewLogger(logdir string, logf logger.Logf, logID logid.PublicID) (*Logger,
HTTPC: &http.Client{Transport: logger.tr},
}, logf)
logger.logger.SetSockstatsLabel(sockstats.LabelSockstatlogLogger)
return logger, nil
}