Package io.prometheus.client
Class Counter.Builder
- java.lang.Object
-
- io.prometheus.client.SimpleCollector.Builder<Counter.Builder,Counter>
-
- io.prometheus.client.Counter.Builder
-
- Enclosing class:
- Counter
public static class Counter.Builder extends SimpleCollector.Builder<Counter.Builder,Counter>
-
-
Field Summary
-
Fields inherited from class io.prometheus.client.SimpleCollector.Builder
dontInitializeNoLabelsChild, fullname, help, labelNames, name, namespace, subsystem
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Counter
create()
Return the constructed collector.-
Methods inherited from class io.prometheus.client.SimpleCollector.Builder
help, labelNames, name, namespace, register, register, subsystem
-
-
-
-
Method Detail
-
create
public Counter create()
Description copied from class:SimpleCollector.Builder
Return the constructed collector.Abstract due to generics limitations.
- Specified by:
create
in classSimpleCollector.Builder<Counter.Builder,Counter>
-
-