Uses of Class
io.prometheus.client.Counter.Builder
Packages that use Counter.Builder
-
Uses of Counter.Builder in io.prometheus.client
Methods in io.prometheus.client that return Counter.BuilderModifier and TypeMethodDescriptionstatic Counter.Builder
Counter.build()
Return a Builder to allow configuration of a new Counter.static Counter.Builder
Return a Builder to allow configuration of a new Counter.Counter.Builder.withExemplars()
Allow this counter to load exemplars from aCounterExemplarSampler
.Counter.Builder.withExemplarSampler
(CounterExemplarSampler exemplarSampler) Enable exemplars and provide a customCounterExemplarSampler
.Counter.Builder.withoutExemplars()
Prevent this counter from loading exemplars from aCounterExemplarSampler
.Constructors in io.prometheus.client with parameters of type Counter.Builder