Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTelemetryKeys ¶
GetTelemetryKeys retrieves the (de-duplicated) set of all telemetry keys present in the direct causal chain of the error. The keys may not be sorted.
func WithTelemetry ¶
WithTelemetry annotates err with the given telemetry key(s). The telemetry keys must be PII-free.
Detail is shown: - via `errors.GetSafeDetails()`. - via `GetTelemetryKeys()` below. - when formatting with `%+v`. - in Sentry reports.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.