Versions in this module Expand all Collapse all v1 v1.2.2 Nov 19, 2019 v1.2.1 Nov 8, 2019 Changes in this version + const AuthProxyCAPIRequestDurationSeconds + const AuthProxyRequestDurationSeconds + const MetricStoreDiskFreeRatio + const MetricStoreExpiredShardsTotal + const MetricStoreIndexSize + const MetricStoreIngressPointsTotal + const MetricStoreMeasurementNamesQueryDurationSeconds + const MetricStoreMeasurementsCount + const MetricStorePrunedShardsTotal + const MetricStoreReadErrorsTotal + const MetricStoreSeriesCount + const MetricStoreStorageDays + const MetricStoreTagValuesQueryDurationSeconds + const MetricStoreWriteDurationSeconds + const MetricStoreWrittenPointsTotal + const NozzleDroppedEnvelopesTotal + const NozzleDroppedPointsTotal + const NozzleEgressDurationSeconds + const NozzleEgressErrorsTotal + const NozzleEgressPointsTotal + const NozzleIngressEnvelopesTotal + func StartServer(addr string, gatherer prometheus.Gatherer, log *logger.Logger) net.Listener + type MetricRegistrar interface + Add func(name string, delta float64, labels ...string) + Gatherer func() prometheus.Gatherer + Inc func(name string, labels ...string) + Registerer func() prometheus.Registerer + Set func(name string, value float64, labels ...string) + type NullGatherer struct + func (n *NullGatherer) Gather() ([]*dto.MetricFamily, error) + type NullRegisterer struct + func (n *NullRegisterer) MustRegister(...prometheus.Collector) + func (n *NullRegisterer) Register(prometheus.Collector) error + func (n *NullRegisterer) Unregister(prometheus.Collector) bool + type NullRegistrar struct + func (*NullRegistrar) Add(string, float64, ...string) + func (*NullRegistrar) Gatherer() prometheus.Gatherer + func (*NullRegistrar) Inc(string, ...string) + func (*NullRegistrar) Registerer() prometheus.Registerer + func (*NullRegistrar) Set(string, float64, ...string) + type Registrar struct + func NewRegistrar(log *logger.Logger, sourceID string, opts ...RegistrarOption) *Registrar + func (h *Registrar) Add(name string, delta float64, labels ...string) + func (h *Registrar) Gatherer() prometheus.Gatherer + func (h *Registrar) Histogram(name string) prometheus.Observer + func (h *Registrar) Inc(name string, labels ...string) + func (h *Registrar) Registerer() prometheus.Registerer + func (h *Registrar) Set(name string, value float64, labels ...string) + func (h *Registrar) Summary(name, label string) prometheus.Observer + type RegistrarOption func(*Registrar) + func WithConstLabels(labels map[string]string) RegistrarOption + func WithCounter(name string, opts prometheus.CounterOpts) RegistrarOption + func WithDefaultRegistry() RegistrarOption + func WithGauge(name string, opts prometheus.GaugeOpts) RegistrarOption + func WithHistogram(name string, opts prometheus.HistogramOpts) RegistrarOption + func WithLabelledCounter(name string, opts prometheus.CounterOpts, labelsNames []string) RegistrarOption + func WithLabelledGauge(name string, opts prometheus.GaugeOpts, labelsNames []string) RegistrarOption + func WithSummary(name, label string, opts prometheus.SummaryOpts) RegistrarOption