Learn R Programming

datarobot (version 2.9.0)

GetModelDeploymentServiceStatistics: Retrieve a health overview of a model deployment.

Description

Retrieve a health overview of a model deployment.

Usage

GetModelDeploymentServiceStatistics(modelDeploymentId, startDate, endDate)

Arguments

modelDeploymentId

character. ID of the model deployment to retrieve.

startDate

character. Optional. Filter statistics to be at this datetime or later.

endDate

character. Optional. Filter statistics to be at this datetime or earlier.

Value

dataRobotModelDeploymentServiceHealth object containing the following information:

  • totalRequests integer. The total number of requests performed. 0 if no requests.

  • consumers integer. The total number of unique users performing requests.

  • period list. A list with start and end that denote the boundaries of the time period the stats are reported for. This is a half-open time interval specifying [start: end).

  • userErrorRate list. A list with current and previous that denote the ratio of user errors to the total number of requests performed for the given period and one time period before that.

  • serverErrorRate list. A list with current and previous that denote the ratio of server errors to the total number of requests performed for the given period and one time period before that.

  • load list. A list with peak and median that denote the max and the median request rate (in requests per minute) across all requests for the duration of the given time period.

  • medianExecutionTime integer. The median of the execution time across all performed requests, in seconds. Will be NULL if there have been no requests.

Examples

Run this code
# NOT RUN {
  modelDeploymentId <- "59a5af20c80891534e3c2bde"
  serviceHealth <- GetModelDeploymentServiceStatistics(modelDeploymentId)
  serviceHealth2 <- GetModelDeploymentServiceStatistics(modelDeploymentId,
# }

Run the code above in your browser using DataLab