MCPcopy
hub / github.com/prometheus/client_golang / Dec

Method Dec

prometheus/gauge.go:43–43  ·  view source on GitHub ↗

Dec decrements the Gauge by 1. Use Sub to decrement it by arbitrary values.

()

Source from the content-addressed store, hash-verified

41 // Dec decrements the Gauge by 1. Use Sub to decrement it by arbitrary
42 // values.
43 Dec()
44 // Add adds the given value to the Gauge. (The value can be negative,
45 // resulting in a decrease of the Gauge.)
46 Add(float64)

Callers 3

ExampleGaugeFunction · 0.95

Implementers 1

gaugeprometheus/gauge.go

Calls

no outgoing calls

Tested by 1

ExampleGaugeFunction · 0.76