Create a recording rule.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
^[a-zA-Z0-9_-]{3,26}$

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

Body Params

A resource following the monitoring.coreos.com/v1 PrometheusRule CRD format.
A PrometheusRule contains one or more rule groups, each evaluated at a common interval.
Groups may contain recording rules, alerting rules, or both.

string
enum
required

API version of the PrometheusRule CRD.

Allowed:
string
enum
required

Kind of the PrometheusRule CRD.

Allowed:
metadata
object
required

Metadata for the PrometheusRule resource, following Kubernetes metadata conventions.

spec
object
required

Spec of the PrometheusRule resource containing rule groups.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json