Documentation
¶
Index ¶
- Variables
- func AcknowledgeError(err error, logger logging.Logger, span tracing.Span, descriptionFmt string, ...)
- func NoteEvent(logger logging.Logger, span tracing.Span, descriptionFmt string, ...)
- func PrepareError(err error, logger logging.Logger, span tracing.Span, descriptionFmt string, ...) 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 ...interface{})
AcknowledgeError standardizes our error handling by logging and tracing consistently.
Types ¶
type Config ¶
type Config struct { Tracing tracing.Config `json:"tracing" mapstructure:"tracing" toml:"tracing,omitempty"` Metrics metrics.Config `json:"metrics" mapstructure:"metrics" toml:"metrics,omitempty"` // contains filtered or unexported fields }
Config contains settings about how we report our metrics.
Directories
¶
Path | Synopsis |
---|---|
Package metrics provides metrics collection functions and structs
|
Package metrics provides metrics collection functions and structs |
mock
Package mock provides mockable implementations of every interface defined in the outer metrics package.
|
Package mock provides mockable implementations of every interface defined in the outer metrics package. |
Package tracing provides common functions for attaching values to trace spans
|
Package tracing provides common functions for attaching values to trace spans |
Click to show internal directories.
Click to hide internal directories.