observability

package
v1.10.37 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTracerProvider added in v1.10.9

func InitTracerProvider(serviceName string) error

InitTracerProvider initializes OpenTelemetry tracer provider for trace ID generation This does NOT export traces, only generates trace IDs for logging purposes

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