View source: R/DeploymentServiceStats.R
GetDeploymentServiceStatsOverTime | R Documentation |
By default this will return statistics for the last seven days prior to the next; set the start
and end
parameters to adjust the reporting period.
GetDeploymentServiceStatsOverTime(
deploymentId,
metrics = DeploymentServiceHealthMetric$TotalPredictions,
modelId = NULL,
start = NULL,
end = NULL,
bucketSize = NULL,
quantile = NULL,
threshold = NULL,
segmentAttribute = NULL,
segmentValue = NULL
)
deploymentId |
character. The ID of the deployment. |
metrics |
character. Optional. Metrics to query. See |
modelId |
character. Optional. The ID of the model to query. If provided, only data for this specific model will be retrieved; otherwise, data for the deployment's default model will be retrieved. |
start |
POSIXct. Optional. The start time of the reporting period for monitoring data.
Defaults to seven days prior to the end of the period. Sub-hour resolution is not permitted,
and the timezone must be |
end |
POSIXct. Optional. The end time of the reporting period for monitoring data. Defaults
to the next top of the hour. Sub-hour resolution is not permitted, and the timezone must be
|
bucketSize |
character. Optional. The time duration of a bucket. This should be a multiple
of one hour and cannot be longer than the total length of the period. If not set, a default
value will be calculated based on the |
quantile |
numeric. Optional. Quantile for the |
threshold |
integer. Optional. Threshold for the |
segmentAttribute |
character. Optional. The name of an attribute used for segment analysis.
See |
segmentValue |
character. Optional. The value of |
modelId character. The ID of the deployment model for which monitoring data was retrieved.
summary data.frame. Summarizes statistics for each metric over the entire reporting period.
buckets data.frame. Statistics for each metric, split into intervals of equal duration. There is one column representing stats for each metric queried, as well as:
start POSIXct. Start of the interval.
end POSIXct. End of the interval.
segmentAttribute character. Added in DataRobot 2.20. The name of the segment on which segment analysis was performed.
segmentValue character. Added in DataRobot 2.20. The value of segmentAttribute
.
## Not run:
metrics <- c(DeploymentServiceHealthMetric)
GetDeploymentServiceStatsOverTime(deploymentId, metrics = metrics)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.