Configure Recording Rules
Sysdig now supports Prometheus recording rules for metric aggregation and querying.
You can configure recording rules by using the Sysdig API. Ensure that you define them in a Prometheus compatible way. The mandatory parameters are:
record
: The unique name of the time series. It must be a valid metric name.expr
: The PromQL expression to evaluate. In each evaluation cycle, the given expression is evaluated and the result is recorded as a new set of time series with the metric name specified inrecord
.labels
: The unique identifiers to add or overwrite before storing the result.
To enable this feature in your environment, contact Sysdig Support.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.