Versions in this module Expand all Collapse all v1 v1.4.0 Jun 4, 2024 v1.3.0 May 30, 2024 v1.1.7 May 29, 2024 v1.1.6 May 29, 2024 v1.1.5 May 29, 2024 v1.1.4 May 27, 2024 v1.1.3 May 24, 2024 v1.1.2 May 24, 2024 v1.1.1 May 24, 2024 v1.1.0 May 23, 2024 v1.0.9 May 23, 2024 v1.0.8 May 23, 2024 v1.0.7 May 17, 2024 v1.0.6 May 17, 2024 v1.0.5 May 17, 2024 v1.0.4 May 17, 2024 v1.0.3 May 17, 2024 v1.0.2 May 16, 2024 Changes in this version + var File_app_observatory_burst_config_proto protoreflect.FileDescriptor + type Config struct + PingConfig *HealthPingConfig + SubjectSelector []string + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (x *Config) GetPingConfig() *HealthPingConfig + func (x *Config) GetSubjectSelector() []string + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type HealthPing struct + Results map[string]*HealthPingRTTS + Settings *HealthPingSettings + func NewHealthPing(ctx context.Context, config *HealthPingConfig) *HealthPing + func (h *HealthPing) Check(tags []string) error + func (h *HealthPing) Cleanup(tags []string) + func (h *HealthPing) PutResult(tag string, rtt time.Duration) + func (h *HealthPing) StartScheduler(selector func() ([]string, error)) + func (h *HealthPing) StopScheduler() + type HealthPingConfig struct + Connectivity string + Destination string + Interval int64 + SamplingCount int32 + Timeout int64 + func (*HealthPingConfig) Descriptor() ([]byte, []int) + func (*HealthPingConfig) ProtoMessage() + func (x *HealthPingConfig) GetConnectivity() string + func (x *HealthPingConfig) GetDestination() string + func (x *HealthPingConfig) GetInterval() int64 + func (x *HealthPingConfig) GetSamplingCount() int32 + func (x *HealthPingConfig) GetTimeout() int64 + func (x *HealthPingConfig) ProtoReflect() protoreflect.Message + func (x *HealthPingConfig) Reset() + func (x *HealthPingConfig) String() string + type HealthPingRTTS struct + func NewHealthPingResult(cap int, validity time.Duration) *HealthPingRTTS + func (h *HealthPingRTTS) Get() *HealthPingStats + func (h *HealthPingRTTS) GetWithCache() *HealthPingStats + func (h *HealthPingRTTS) Put(d time.Duration) + type HealthPingSettings struct + Connectivity string + Destination string + Interval time.Duration + SamplingCount int + Timeout time.Duration + type HealthPingStats struct + All int + Average time.Duration + Deviation time.Duration + Fail int + Max time.Duration + Min time.Duration + type Observer struct + func New(ctx context.Context, config *Config) (*Observer, error) + func (o *Observer) Close() error + func (o *Observer) GetObservation(ctx context.Context) (proto.Message, error) + func (o *Observer) Start() error + func (o *Observer) Type() interface{}