Versions in this module Expand all Collapse all v1 v1.0.0 Mar 21, 2022 Changes in this version + type Aggregation struct + Cache time.Duration + Collection string + Database string + Metrics []Metric + Mode string + Pipeline string + Servers []string + type Config struct + Aggregations []*collector.Aggregation + Bind string + Global Global + Log zap.Config + 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 time.Duration + DefaultCollection string + DefaultDatabase string + DefaultMode string + MaxConnections int32 + QueryTimeout time.Duration + type Metric struct + ConstLabels prometheus.Labels + EmptyValue int64 + Help string + Labels []string + Name string + OverrideEmpty bool + Type string + Value string + type Server struct + Name string + URI string Other modules containing this package github.com/raffis/mongodb-query-exporter/v2