feat: add more logging around echo tar (#10731)

This commit is contained in:
Marcin Tojek
2023-11-16 16:52:04 +01:00
committed by GitHub
parent ced6ae01b7
commit 0e5eecd7da
4 changed files with 28 additions and 4 deletions
@@ -15,6 +15,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"cdr.dev/slog"
"cdr.dev/slog/sloggers/slogtest"
"github.com/coder/coder/v2/agent/agenttest"
"github.com/coder/coder/v2/coderd/coderdtest"
@@ -41,6 +42,7 @@ func TestCollectInsights(t *testing.T) {
Pubsub: ps,
}
client := coderdtest.New(t, options)
client.SetLogger(logger.Named("client").Leveled(slog.LevelDebug))
// Given
// Initialize metrics collector