Skip to content

log: add consistent tagging of failed assertions that are alertworthy #102041

@dhartunian

Description

@dhartunian

Sometimes in production we have situations that don't rise to the level of panic (programmer error) or Fatalf (node should crash) but still want to alert the operator that something serious is going on that requires immediate attention. This cannot be simply codified into an ERROR severity log since not all ERROR level lines rise to the level of requiring operator involvement.

This ticket tracks consistent messaging for these types of errors so that they can be alerted upon easily. This can be done either through a log tag, or through some pre-set formatting structure in the error message.

Jira issue: CRDB-27233

Metadata

Metadata

Assignees

Labels

A-observability-infC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)O-postmortemOriginated from a Postmortem action item.db-cy-23

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions