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) Start ¶
func (s *MetricsServer) Start() error
type MetricsServerConfig ¶
type MetricsServerConfig struct {
Port int `mapstructure:"port" yaml:"port"`
}
Click to show internal directories.
Click to hide internal directories.