Versions in this module Expand all Collapse all v0 v0.1.0 Jan 26, 2020 Changes in this version + const DefaultMetricsPath + const Version + func Main(opts *ExporterOpts) + func MakeApp(opts *ExporterOpts) *cli.App + func MakeMetricName(parts ...string) string + type Collector interface + Collect func(*MetricRegistry) + type ExporterOpts struct + Flags []cli.Flag + Init func(*cli.Context, *MetricRegistry) (Collector, error) + MetricsPath string + Name string + ResetOnTick bool + Tick bool + Usage string + Version string + func NewExporterOpts(name string, version string) *ExporterOpts + type MetricRegistry struct + func (reg *MetricRegistry) Get(name string) prometheus.Collector + func (reg *MetricRegistry) Register(name string, metric prometheus.Collector) + func (reg *MetricRegistry) Reset() + func (reg *MetricRegistry) Unregister(name string)