Versions in this module Expand all Collapse all v0 v0.0.2 Jul 16, 2019 v0.0.1 Jul 3, 2019 Changes in this version + type CounterVector struct + Labels []string + Vector *p.CounterVec + func (v *CounterVector) AddMetric(value float64, labelValues ...string) + type GaugeVector struct + Labels []string + Vector *p.GaugeVec + func (v *GaugeVector) AddMetric(value float64, labelValues ...string) + type GoPrometheus struct + Vectors *Vectors + func New() *GoPrometheus + func (gp *GoPrometheus) AddCounterVector(name, desc string, labels []string) + func (gp *GoPrometheus) AddGaugeVector(name, desc string, labels []string) + func (gp *GoPrometheus) AddHistogramVector(name, desc string, labels []string) + func (gp *GoPrometheus) AddSummaryVector(name, desc string, labels []string) + func (gp *GoPrometheus) Run() + func (gp *GoPrometheus) UseGin(gin IGinPrometheus) + func (gp *GoPrometheus) UseHystrix(hystrix IHystrixPrometheus) + type HistogramVector struct + Labels []string + Vector *p.HistogramVec + func (v *HistogramVector) AddMetric(value float64, labelValues ...string) + type IGinPrometheus interface + GetEngine func() *gin.Engine + Middleware func(c *gin.Context) + type IGoPrometheus interface + AddCounterVector func(name, desc string, labels []string) + AddGaugeVector func(name, desc string, labels []string) + AddHistogramVector func(name, desc string, labels []string) + AddSummaryVector func(name, desc string, labels []string) + type IHystrixPrometheus interface + Middleware func(name string) metricCollector.MetricCollector + type SummaryVector struct + Labels []string + Vector *p.SummaryVec + func (v *SummaryVector) AddMetric(value float64, labelValues ...string) + type Vectors struct + CounterVectors map[string]*CounterVector + GaugeVectors map[string]*GaugeVector + HistogramVectors map[string]*HistogramVector + SummaryVectors map[string]*SummaryVector