Pre-submission Checklist
What happened:
The current DatadogSLO CRD only supports the legacy query field with numerator / denominator for metric-based SLOs. However, the Datadog API has introduced sli_specification as the successor to the query field, which enables formula-based SLO definitions using good_events_formula / total_events_formula with multiple named queries.
The Create an SLO object API documentation states that the query field "is superseded by sli_specification but is retained for backwards compatibility."
Because the CRD lacks sli_specification support, users cannot define metric SLOs that use formula expressions (e.g., query1 - default_zero(query2)) or combine multiple named queries — capabilities that the Datadog API and other IaC tools (such as the Terraform provider) already support.
What I expected:
The DatadogSLO CRD should support sli_specification.count to allow formula-based metric SLO definitions. Specifically:
- A sliSpecification.count field with goodEventsFormula, totalEventsFormula, and queries
- Validation to ensure query and sliSpecification are mutually exclusive
- The existing query field should remain supported for backwards compatibility
Additional Context
Pre-submission Checklist
What happened:
The current DatadogSLO CRD only supports the legacy query field with numerator / denominator for metric-based SLOs. However, the Datadog API has introduced sli_specification as the successor to the query field, which enables formula-based SLO definitions using good_events_formula / total_events_formula with multiple named queries.
The Create an SLO object API documentation states that the query field "is superseded by sli_specification but is retained for backwards compatibility."
Because the CRD lacks sli_specification support, users cannot define metric SLOs that use formula expressions (e.g., query1 - default_zero(query2)) or combine multiple named queries — capabilities that the Datadog API and other IaC tools (such as the Terraform provider) already support.
What I expected:
The DatadogSLO CRD should support sli_specification.count to allow formula-based metric SLO definitions. Specifically:
Additional Context