Add structured logging with slog
#19203
+3,644
−3,034
Draft
Codecov / codecov/project
succeeded
Feb 3, 2026 in 1s
69.91% (-0.07%) compared to 000c6c8
View this Pull Request on Codecov
69.91% (-0.07%) compared to 000c6c8
Details
Codecov Report
❌ Patch coverage is 32.32158% with 825 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.91%. Comparing base (000c6c8) to head (57fb551).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| go/vt/mysqlctl/mysqld.go | 8.97% | 71 Missing |
| go/vt/tlstest/tlstest.go | 5.40% | 70 Missing |
| go/vt/log/log.go | 63.04% | 34 Missing |
| go/vt/log/prefix.go | 0.00% | 31 Missing |
| go/cmd/vtbackup/cli/vtbackup.go | 0.00% | 29 Missing |
| go/mysql/conn.go | 18.75% | 26 Missing |
| go/stats/statsd/statsd.go | 0.00% | 21 Missing |
| go/cmd/vtcombo/cli/vschema_watcher.go | 0.00% | 19 Missing |
| go/vt/binlog/binlogplayer/binlog_player.go | 24.00% | 19 Missing |
| go/vt/servenv/servenv.go | 26.08% | 17 Missing |
| ... and 152 more |
Additional details and impacted files
@@ Coverage Diff @@
## main #19203 +/- ##
==========================================
- Coverage 69.97% 69.91% -0.07%
==========================================
Files 1610 1612 +2
Lines 215929 216143 +214
==========================================
+ Hits 151107 151125 +18
- Misses 64822 65018 +196 ☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading