observability

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerMetrics

type ControllerMetrics struct {
	// contains filtered or unexported fields
}

func NewControllerMetrics

func NewControllerMetrics() *ControllerMetrics

func (*ControllerMetrics) IncrementBuild

func (s *ControllerMetrics) IncrementBuild(status domain.BuildStatus, buildType domain.BuildType)

func (*ControllerMetrics) ObserveDeployDuration

func (s *ControllerMetrics) ObserveDeployDuration(d time.Duration)

type MetricsServer

type MetricsServer struct {
	// contains filtered or unexported fields
}

func NewMetricsServer

func NewMetricsServer(config MetricsServerConfig) *MetricsServer

func (*MetricsServer) Shutdown

func (s *MetricsServer) Shutdown(ctx context.Context) error

func (*MetricsServer) Start

func (s *MetricsServer) Start() error

type MetricsServerConfig

type MetricsServerConfig struct {
	Port int `mapstructure:"port" yaml:"port"`
}

Jump to

Keyboard shortcuts

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