Skip to contents

Use this operation to create or update the label sets, label set limits, and retention period of a workspace.

See https://www.paws-r-sdk.com/docs/prometheusservice_update_workspace_configuration/ for full documentation.

Usage

prometheusservice_update_workspace_configuration(
  workspaceId,
  clientToken = NULL,
  limitsPerLabelSet = NULL,
  retentionPeriodInDays = NULL
)

Arguments

workspaceId

[required] The ID of the workspace that you want to update. To find the IDs of your workspaces, use the list_workspaces operation.

clientToken

You can include a token in your operation to make it an idempotent opeartion.

limitsPerLabelSet

This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.

retentionPeriodInDays

Specifies how many days that metrics will be retained in the workspace.