Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureErr ¶
CaptureErr sends an error to Sentry with optional string tags for context (e.g. round_id, share_index). No-op when Sentry is not initialized.
func InitSentry ¶
InitSentry initializes the Sentry SDK with the given DSN. If dsn is empty, Sentry remains disabled and all capture calls become no-ops. The release string is attached to every event for deploy correlation (typically the binary version from ldflags). serverName identifies the specific node (e.g. the CometBFT moniker "val1") so events from different validators can be distinguished in the Sentry dashboard.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.