Uses of Class
io.prometheus.client.Counter.Builder
-
Packages that use Counter.Builder Package Description io.prometheus.client -
-
Uses of Counter.Builder in io.prometheus.client
Methods in io.prometheus.client that return Counter.Builder Modifier and Type Method Description static Counter.Builder
Counter. build()
Return a Builder to allow configuration of a new Counter.static Counter.Builder
Counter. build(java.lang.String name, java.lang.String help)
Return a Builder to allow configuration of a new Counter.Counter.Builder
Counter.Builder. withExemplars()
Allow this counter to load exemplars from aCounterExemplarSampler
.Counter.Builder
Counter.Builder. withExemplarSampler(CounterExemplarSampler exemplarSampler)
Enable exemplars and provide a customCounterExemplarSampler
.Counter.Builder
Counter.Builder. withoutExemplars()
Prevent this counter from loading exemplars from aCounterExemplarSampler
.Constructors in io.prometheus.client with parameters of type Counter.Builder Constructor Description Counter(Counter.Builder b)
-