-
Hey! We are implementing here in production the use of a 'failed-rates' template with the help of 01 - : Do I need to have istio implemented in my environment to use it? 02 - Does the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
My answers:
Example About
|
Beta Was this translation helpful? Give feedback.
My answers:
Example About
ClusterAnalysisTemplate
---
apiVersion: argoproj.io/v1alpha1
kind: ClusterAnalysisTemplate
metadata:
name: http-error-rates-5xx-backgrounds
spec:
args:
- name: service_name
- name: environment
metrics:
- name: http-error-rates-5xx-backgrounds
successCondition: result[0] >= 0.95
interval: 1m
failureLimit: 3
provider:
prometheus:
address: "https://prometheus.example.com"
query: |
sum(rate(
http_server_requests_duration_seconds_count{rou…