You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
65024: server: log runtime stats as a structured event r=knz,rauchenstein a=cameronnunez
Fixes [#63750](#63750).
Runtime stats were logged using a flat text format.
This is not stable and not easy to parse.
It has now been converted to structured logging.
Release note (cli change): server health metrics are now a structured event sent to
the HEALTH logging channel. Refer to the reference docs for details about the event
payload.
Co-authored-by: Cameron Nunez <cameron@cockroachlabs.com>
Every 10 seconds, the server reports health metrics in the HEALTH logging channel, for example:
(this logging occurs in
server/status/runtime.go
)Our users have expressed interest in making this information more reliably parsable. We should use a structured event for this purpose.
To do this requires approximately the following steps:
pkg/util/log/eventpb
, possibly incluster_events.go
log.Structured
instead oflog.Health.Infof
inruntime.go
.The text was updated successfully, but these errors were encountered: