Manage Recording Rules

Create a recording rule

post/api/recording-rules

Request

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

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 created.

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.