Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Enabled bool `default:"false" usage:"allows to enable ops server"`
Network string `default:"tcp" usage:"allows to set ops listen network: tcp/udp"`
// Tracing
TracingEnabled bool `default:"false" usage:"allows to enable tracing"`
// Metrics
Metrics MetricsConfig
// Health checker
Healthy HealthCheckerConfig
// Profiler
Profiler ProfilerConfig
}
Config provides configuration for ops server.
type HealthCheckerConfig ¶ added in v0.2.0
type HealthCheckerConfig struct {
Enabled bool `default:"true" usage:"allows to enable health checker"`
Path string `default:"/healthy" usage:"allows to set custom healthy path"`
Port string `default:"10000" usage:"allows to set custom healthy port"`
// contains filtered or unexported fields
}
func (*HealthCheckerConfig) AddServicesList ¶ added in v0.2.0
func (s *HealthCheckerConfig) AddServicesList(list []service.HealthChecker)
type MetricsConfig ¶ added in v0.2.0
type ProfilerConfig ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.