Versions in this module Expand all Collapse all v1 v1.0.0 Apr 28, 2023 Changes in this version + func BuildMetrics(registry *prometheus.Registry, t reflect.Type) map[string]*prometheus.GaugeVec + func DSPMetrics(ctx context.Context, sbc *SBC, cfg *config.Config, ...) error + func FanMetrics(ctx context.Context, sbc *SBC, cfg *config.Config, ...) error + func PowerMetrics(ctx context.Context, sbc *SBC, cfg *config.Config, ...) error + func ServerInfoMetrics(ctx context.Context, sbc *SBC, cfg *config.Config, ...) error + func ZoneMetrics(ctx context.Context, sbc *SBC, cfg *config.Config, ...) error + func ZoneProbe(ctx context.Context, sbc *SBC, cfg *config.Config, ...) error + type AddressContext struct + DnsGroup struct{ ... } + IpInterfaceGroup []struct{ ... } + Name string + Zone []struct{ ... } + type AddressContexts struct + AddressContext []AddressContext + type Errors struct + ErrorMsgs []struct{ ... } + Text string + XMLName xml.Name + Xmlns string + func (e *Errors) Error() string + type Metric struct + Metric *prometheus.GaugeVec + Name string + type SBC struct + AddressContexts *AddressContexts + System string + func NewSBC(address, user, password string) *SBC + func (s *SBC) GetAndParse(ctx context.Context, response any, path string, args ...any) error + type ServerInfo struct + ServerStatus []struct{ ... } + type ZoneStats struct + Zone []struct{ ... }