HistoricSamplingConfiguration
A PersistentSamplingConfiguration that collects data from a time window past and future relative to now.
Used by probes that read stored data, e.g. app usage or calls and texts.
- Inheritance
-
- Object
- Serializable
- SamplingConfiguration
- PersistentSamplingConfiguration
- HistoricSamplingConfiguration
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
HistoricSamplingConfiguration.fromJson
HistoricSamplingConfiguration
Constants
DEFAULT_NUMBER_OF_DAYS
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
future
getter/setter pair
How far ahead in time to collect data. Default is one day.
past
getter/setter pair
How far back in time to collect data. Default is one day.
Methods
toJson
Return a JSON encoding of this object.