Package io.prometheus.client
Class Summary.Builder
java.lang.Object
io.prometheus.client.SimpleCollector.Builder<Summary.Builder,Summary>
io.prometheus.client.Summary.Builder
- Enclosing class:
Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private long
private final List
<CKMSQuantiles.Quantile> Fields inherited from class io.prometheus.client.SimpleCollector.Builder
dontInitializeNoLabelsChild, fullname, help, labelNames, name, namespace, subsystem, unit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionageBuckets
(int ageBuckets) The class JavaDoc forSummary
has more information onageBuckets(int)
create()
Return the constructed collector.maxAgeSeconds
(long maxAgeSeconds) The class JavaDoc forSummary
has more information onmaxAgeSeconds(long)
quantile
(double quantile, double error) The class JavaDoc forSummary
has more information onquantile(double, double)
.Methods inherited from class io.prometheus.client.SimpleCollector.Builder
help, labelNames, name, namespace, register, register, subsystem, unit
-
Field Details
-
quantiles
-
maxAgeSeconds
private long maxAgeSeconds -
ageBuckets
private int ageBuckets
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
quantile
The class JavaDoc forSummary
has more information onquantile(double, double)
.- See Also:
-
maxAgeSeconds
The class JavaDoc forSummary
has more information onmaxAgeSeconds(long)
- See Also:
-
ageBuckets
The class JavaDoc forSummary
has more information onageBuckets(int)
- See Also:
-
create
Description copied from class:SimpleCollector.Builder
Return the constructed collector.Abstract due to generics limitations.
- Specified by:
create
in classSimpleCollector.Builder<Summary.Builder,
Summary>
-