Versions in this module Expand all Collapse all v5 v5.1.0 Sep 15, 2023 v5.0.0 Sep 8, 2023 Changes in this version + type Config struct + Bind string + Global Global + Log zap.Config + Metrics []*Metric + MetricsPath string + Servers []*Server + func (conf *Config) Build() (*collector.Collector, error) + func (conf *Config) GetBindAddr() string + func (conf *Config) GetMetricsPath() string + type Global struct + DefaultCache int64 + DefaultCollection string + DefaultDatabase string + DefaultMode string + MaxConnections int32 + QueryTimeout time.Duration + type Metric struct + Cache int64 + Collection string + ConstLabels prometheus.Labels + Database string + EmptyValue int64 + Help string + Labels []string + Mode string + Name string + OverrideEmpty bool + Pipeline string + Servers []string + Type string + Value string + type Server struct + Name string + URI string