Documentation ¶
Index ¶
- Variables
- func AcknowledgeError(err error, logger logging.Logger, span tracing.Span, descriptionFmt string, ...)
- func PrepareAndLogError(err error, logger logging.Logger, span tracing.Span, descriptionFmt string, ...) error
- func PrepareError(err error, span tracing.Span, descriptionFmt string, descriptionArgs ...any) error
- type Config
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AcknowledgeError ¶
func AcknowledgeError(err error, logger logging.Logger, span tracing.Span, descriptionFmt string, descriptionArgs ...any)
AcknowledgeError standardizes our error handling by logging and tracing consistently.
Types ¶
type Config ¶
type Config struct { Logging loggingcfg.Config `json:"logging" toml:"logging,omitempty"` Tracing tracingcfg.Config `json:"tracing" toml:"tracing,omitempty"` // contains filtered or unexported fields }
Config contains settings about how we report our metrics.
Directories ¶
Path | Synopsis |
---|---|
cloudtrace
Package cloudtrace provides common functions for attaching values to trace spans
|
Package cloudtrace provides common functions for attaching values to trace spans |
oteltracehttp
Package oteltracehttp provides common functions for attaching values to trace spans
|
Package oteltracehttp provides common functions for attaching values to trace spans |
Package o11yutils offers observability utility functions.
|
Package o11yutils offers observability utility functions. |
Click to show internal directories.
Click to hide internal directories.