Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + const RedisType + const StatsPushInterval + func Monitor(addr string, ns string, id string, backend io.WriteCloser) error + func NewRedis(endpoint string) (io.WriteCloser, error) + func RedisParseURL(address string) (host string, channel string, err error) + type Metrics struct + CPUUsage uint64 + MemoryCache uint64 + MemoryLimit uint64 + MemoryUsage uint64 + PidsCurrent uint64 + Timestamp int64 + type Redis struct + Endpoint string + type RedisBackend struct + func (c *RedisBackend) Close() error + func (c *RedisBackend) Write(data []byte) (int, error) + type Stats struct + Data Redis + Type string