Package codes.grow.packages.loki
Class VolumeOptions
java.lang.Object
codes.grow.packages.loki.VolumeOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHow volumes are grouped.static final classBuilder ofVolumeOptions. -
Method Summary
Modifier and TypeMethodDescriptionReturns the grouping.static VolumeOptions.Builderbuilder()Starts a builder.static VolumeOptionsdefaults()Default options.end()Returns the window end.limit()Returns the maximum number of series.start()Returns the window start.step()Returns the resolution ofLokiClient.volumeRange(java.lang.String).Returns the labels to aggregate on.
-
Method Details
-
defaults
Default options.- Returns:
- the options
-
builder
Starts a builder.- Returns:
- a new builder
-
start
Returns the window start.- Returns:
- start, or empty
-
end
Returns the window end.- Returns:
- end, or empty
-
limit
Returns the maximum number of series.- Returns:
- limit, or empty
-
targetLabels
Returns the labels to aggregate on.- Returns:
- immutable list (empty = all matched labels)
-
aggregateBy
Returns the grouping.- Returns:
- grouping, or empty (series)
-
step
Returns the resolution ofLokiClient.volumeRange(java.lang.String).- Returns:
- step, or empty
-