Skip to content

Describe Anomaly Detector

prometheusservice_describe_anomaly_detector R Documentation

Retrieves detailed information about a specific anomaly detector, including its status and configuration

Description

Retrieves detailed information about a specific anomaly detector, including its status and configuration.

Usage

prometheusservice_describe_anomaly_detector(workspaceId,
  anomalyDetectorId)

Arguments

workspaceId

[required] The identifier of the workspace containing the anomaly detector.

anomalyDetectorId

[required] The identifier of the anomaly detector to describe.

Value

A list with the following syntax:

list(
  anomalyDetector = list(
    arn = "string",
    anomalyDetectorId = "string",
    alias = "string",
    evaluationIntervalInSeconds = 123,
    missingDataAction = list(
      markAsAnomaly = TRUE|FALSE,
      skip = TRUE|FALSE
    ),
    configuration = list(
      randomCutForest = list(
        query = "string",
        shingleSize = 123,
        sampleSize = 123,
        ignoreNearExpectedFromAbove = list(
          amount = 123.0,
          ratio = 123.0
        ),
        ignoreNearExpectedFromBelow = list(
          amount = 123.0,
          ratio = 123.0
        )
      )
    ),
    labels = list(
      "string"
    ),
    status = list(
      statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED"|"DELETION_FAILED",
      statusReason = "string"
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    modifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$describe_anomaly_detector(
  workspaceId = "string",
  anomalyDetectorId = "string"
)