Home
last modified time | relevance | path

Searched refs:mockGauge (Results 1 – 9 of 9) sorted by relevance

/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/sysutils/snmp_exporter/snmp_exporter-0.20.0/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/net-mgmt/bind_exporter/bind_exporter-0.4.0/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/go-kit/kit/metrics/multi/
H A Dmulti_test.go28 g1 := &mockGauge{}
29 g2 := &mockGauge{}
30 g3 := &mockGauge{}
73 type mockGauge struct { struct
77 func (g *mockGauge) Set(value float64) { g.obs = append(g.obs, value) } argument
78 func (g *mockGauge) With(...string) metrics.Gauge { return g } argument
79 func (g *mockGauge) String() string { return fmt.Sprintf("%v", g.obs) } argument
80 func (g *mockGauge) Add(delta float64) { argument
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/pkg/canary/comparator/
H A Dcomparator_test.go324 metricTestActual = &mockGauge{}
325 metricTestExpected = &mockGauge{}
419 type mockGauge struct { struct
424 func (m *mockGauge) Desc() *prometheus.Desc { argument
432 func (m *mockGauge) Describe(chan<- *prometheus.Desc) { argument
440 func (m *mockGauge) Set(v float64) { argument
446 func (m *mockGauge) Inc() { argument
450 func (m *mockGauge) Dec() { argument
454 func (m *mockGauge) Add(float64) { argument
458 func (m *mockGauge) Sub(float64) { argument
[all …]