Manage Recording Rules

Update a specific recording rule

put/api/recording-rules/{originOrId}

Request

  • Base URL: https://api.eu-west-1.aws.dash0.com
  • URL: https://api.eu-west-1.aws.dash0.com/api/recording-rules/{originOrId}
  • Auth: none declared

Path parameters

originOrIdstring required

Recording rule origin or id.

Query parameters

datasetstring

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Target dataset. Overrides dash0.com/dataset in metadata.labels if both are provided.

Request body

apiVersion'monitoring.coreos.com/v1' required

API version of the PrometheusRule CRD.

kind'PrometheusRule' required

Kind of the PrometheusRule CRD.

Response

The recording rule was updated.

apiVersion'monitoring.coreos.com/v1' required

API version of the PrometheusRule CRD.

kind'PrometheusRule' required

Kind of the PrometheusRule CRD.

Changes

No recorded changes to this operation across all 1 revision of this API.