Documentation ¶
Overview ¶
Package observability provides observability functions
Package observability provides observability functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observability ¶
type Observability interface { PreStart(ctx context.Context) error Start(ctx context.Context) <-chan error Stop(ctx context.Context) }
func New ¶
func New(opts ...Option) (Observability, error)
func NewWithConfig ¶
func NewWithConfig(cfg *config.Observability, metrics ...metrics.Metric) (Observability, error)
type Option ¶
type Option func(*observability) error
func WithCollector ¶
func WithErrGroup ¶
func WithJaeger ¶
func WithPrometheus ¶
func WithPrometheus(p prometheus.Prometheus) Option
func WithTracer ¶
Directories ¶
Path | Synopsis |
---|---|
Package collector provides metrics collector Package collector provides metrics collector
|
Package collector provides metrics collector Package collector provides metrics collector |
exporter
|
|
jaeger
Package jaeger provides a jaeger exporter.
|
Package jaeger provides a jaeger exporter. |
prometheus
Package prometheus provides a prometheus exporter.
|
Package prometheus provides a prometheus exporter. |
Package metrics provides metrics.
|
Package metrics provides metrics. |
agent/ngt
Package ngt provides functions for ngt stats
|
Package ngt provides functions for ngt stats |
cpu
Package cpu provides cpu metrics functions
|
Package cpu provides cpu metrics functions |
grpc
Package grpc provides functions for grpc stats
|
Package grpc provides functions for grpc stats |
mem
Package mem provides memory metrics functions
|
Package mem provides memory metrics functions |
runtime/cgo
Package cgo provides functions for runtime cgo stats
|
Package cgo provides functions for runtime cgo stats |
runtime/goroutine
Package goroutine provides functions for goroutine runtime stats
|
Package goroutine provides functions for goroutine runtime stats |
version
Package version provides version info metrics functions
|
Package version provides version info metrics functions |
Package trace provides trace functions.
|
Package trace provides trace functions. |
Click to show internal directories.
Click to hide internal directories.