kvprober: write structured logs #74405
Labels
A-kv-observability
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
no-issue-activity
O-sre
For issues SRE opened or otherwise cares about tracking.
X-stale
Is your feature request related to a problem? Please describe.
Today, the
kvprober
logs are text-based. These are hard to parse programatically. This makes it hard to analyze the logs programmatically, and also write alerts (we have time-series metrics for alerting but for single range issue a log-based alert may be the move).Describe the solution you'd like
We could do structured logging via
pkg/util/log/eventpb
.Describe alternatives you've considered
Only alternative I can think of is not doing anything.
Additional context
N/A
Jira issue: CRDB-12067
The text was updated successfully, but these errors were encountered: