Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultHealthCheckIntervalSecs = 1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { Config *config.Config // Backends CacheBackend cache.ICache RedisBackend *redis.Client // Services BusService bus.IBus NotifyService notify.INotifier MetricsService metrics.IMetrics StoreService store.IStore CmdService cmd.ICmd KVService kv.IKV PubSubService pubsub.IPubSub EncryptionService encryption.IEncryption Health health.IHealth ShutdownContext context.Context ShutdownFunc context.CancelFunc Telemetry statsd.Statter }
func (*Dependencies) RunUptimeTelemetry ¶ added in v0.0.10
func (d *Dependencies) RunUptimeTelemetry()
RunUptimeTelemetry sends a gauge metric to the telemetry backend every minute
Click to show internal directories.
Click to hide internal directories.