observer

package
v0.0.0-...-aca9518 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ProvideLogging

func ProvideLogging() component.Declared[Observer]

func ProvideMetrics

func ProvideMetrics() component.Declared[Observer]

Types

type CheckFailed

type CheckFailed struct {
	CheckName string
	Err       error
}

type Observer

type Observer struct {
	CheckFailed o11y.ObserveFunc[CheckFailed]
}

func (Observer) ComponentName

func (Observer) ComponentName() string

func (Observer) Join

func (observer Observer) Join(other Observer) Observer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL