Skip to content

Commit f3a9677

Browse files
committed
Document queries for controller load
1 parent 52d5a5c commit f3a9677

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/evaluation.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,21 @@ The scale of the controller setup is measured in two dimensions:
141141
1. The number of API objects that the controller watches and reconciles.
142142
2. The churn rate of API objects, i.e., the rate of object creations, updates, and deletions.
143143

144+
```yaml
145+
queries:
146+
- name: website-count # dimension 1
147+
query: |
148+
sum(kube_website_info)
149+
- name: website-churn # dimension 2
150+
query: |
151+
sum(rate(
152+
controller_runtime_reconcile_total{
153+
job="experiment", result!="error",
154+
controller=~"website-(generator|deleter|mutator)"
155+
}[1m]
156+
)) by (controller)
157+
```
158+
144159
## SLIs / SLOs
145160
146161
To consider a controller setup as performing adequately, the following SLOs

0 commit comments

Comments
 (0)