Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Configuration v1.0 format
func (*Config) Build ¶
Build a collector from a configuration v1.0 format and return an Exprter with that collector. Note the v1.0 config does not support multiple collectors, you may instead use the v2.0 format.
func (*Config) GetBindAddr ¶
Get address where the http server should be bound to
type Metric ¶
type Metric struct { Cache int64 Mode string Database string Collection string Pipeline string Name string Type string Help string Value string OverrideEmpty bool EmptyValue int64 ConstLabels prometheus.Labels Labels []string }
Metric defines an exported metric from a MongoDB aggregation pipeline
Click to show internal directories.
Click to hide internal directories.