Class InfluxTimeSeriesStatisticsProvider
java.lang.Object
org.opencastproject.statistics.provider.influx.provider.InfluxStatisticsProvider
org.opencastproject.statistics.provider.influx.provider.InfluxTimeSeriesStatisticsProvider
- All Implemented Interfaces:
org.opencastproject.statistics.api.StatisticsProvider,org.opencastproject.statistics.api.TimeSeriesProvider
public class InfluxTimeSeriesStatisticsProvider
extends InfluxStatisticsProvider
implements org.opencastproject.statistics.api.TimeSeriesProvider
-
Field Summary
Fields inherited from class org.opencastproject.statistics.provider.influx.provider.InfluxStatisticsProvider
service -
Constructor Summary
ConstructorsConstructorDescriptionInfluxTimeSeriesStatisticsProvider(StatisticsProviderInfluxService service, String id, org.opencastproject.statistics.api.ResourceType resourceType, String title, String description, Set<InfluxProviderConfiguration.InfluxProviderSource> sources) -
Method Summary
Modifier and TypeMethodDescriptionSet<org.opencastproject.statistics.api.DataResolution> org.opencastproject.statistics.api.TimeSeriesgetValues(String resourceId, Instant from, Instant to, org.opencastproject.statistics.api.DataResolution resolution, ZoneId zoneId) protected static org.opencastproject.statistics.api.TimeSeriesqueryResultToTimeSeries(org.influxdb.dto.QueryResult results) Methods inherited from class org.opencastproject.statistics.provider.influx.provider.InfluxStatisticsProvider
dataResolutionToInfluxGrouping, equals, getDescription, getId, getPeriods, getResourceType, getTitle, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencastproject.statistics.api.StatisticsProvider
getDescription, getId, getResourceType, getTitle
-
Constructor Details
-
InfluxTimeSeriesStatisticsProvider
public InfluxTimeSeriesStatisticsProvider(StatisticsProviderInfluxService service, String id, org.opencastproject.statistics.api.ResourceType resourceType, String title, String description, Set<InfluxProviderConfiguration.InfluxProviderSource> sources)
-
-
Method Details
-
getValues
public org.opencastproject.statistics.api.TimeSeries getValues(String resourceId, Instant from, Instant to, org.opencastproject.statistics.api.DataResolution resolution, ZoneId zoneId) - Specified by:
getValuesin interfaceorg.opencastproject.statistics.api.TimeSeriesProvider
-
getDataResolutions
- Specified by:
getDataResolutionsin interfaceorg.opencastproject.statistics.api.TimeSeriesProvider
-
queryResultToTimeSeries
protected static org.opencastproject.statistics.api.TimeSeries queryResultToTimeSeries(org.influxdb.dto.QueryResult results)
-