commit d661f164b5b89fd21ff6331d395a663fa4a5e2d9
parent d73a919c233cd1a23c1aad73ad96bef840afc8dc
Author: MTRNord <MTRNord@users.noreply.github.com>
Date: Sat, 28 Jun 2025 21:00:47 +0200
Adjust metric limtis and metrics
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/apps/base/matrix/connectivity-tester/deployment.yaml b/apps/base/matrix/connectivity-tester/deployment.yaml
@@ -138,7 +138,7 @@ spec:
type: prometheus
address: "http://vmselect-vm-victoria-metrics-k8s-stack.monitoring.svc:8481/select/0/prometheus"
query: |
- 100 - sum(
+ sum(
rate(
envoy_cluster_upstream_rq{
envoy_cluster_name=~".*{{ namespace }}/{{ target }}.*",
@@ -153,7 +153,7 @@ spec:
envoy_cluster_name=~".*{{ namespace }}/{{ target }}.*",
}[{{ interval }}]
)
- )
+ ) / 100
---
apiVersion: flagger.app/v1beta1
kind: Canary
@@ -211,7 +211,7 @@ spec:
name: connectivity-tester-error-rate
namespace: matrix
thresholdRange:
- max: 1
+ max: 2
interval: 1m
- name: latency
templateRef:
@@ -219,7 +219,7 @@ spec:
namespace: matrix
# seconds
thresholdRange:
- max: 0.5
+ max: 1
interval: 30s
# testing (optional)
webhooks: