You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why AnalysisRun does not show any data.. I tested my query in DataDog console, it works!
here is AnalysisTemplate:
apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
name: datadog-error-rate
spec:
args:
name: service-name
metrics:
name: datadog-error-rate
interval: 2m
initialDelay: 2m #start this analysis until 2 minutes after the analysis run starts
successCondition: default(result, 0 ) <= 5 #fail if ten or more errors are encountered
failureLimit: 2 #is the maximum number of failed run an analysis is allowed
provider:
datadog:
query: | sum:istio.mesh.request.count{response_code:5,kube_service:{{args.service-name}}}*
here is part of rollout:
analysis:
templates:
- templateName: datadog-error-rate
startingStep: 2 # delay starting analysis run until setWeight: 40%
args:
- name: service-name
value: demo-svc
dryRun:
- metricName: .*
steps:
- setWeight: 20
- pause: {duration: 2m}
- setWeight: 40
- pause: {duration: 2m}
- setWeight: 80
- pause: {duration: 1m}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
why AnalysisRun does not show any data.. I tested my query in DataDog console, it works!
here is AnalysisTemplate:
apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
name: datadog-error-rate
spec:
args:
metrics:
interval: 2m
initialDelay: 2m #start this analysis until 2 minutes after the analysis run starts
successCondition: default(result, 0 ) <= 5 #fail if ten or more errors are encountered
failureLimit: 2 #is the maximum number of failed run an analysis is allowed
provider:
datadog:
query: |
sum:istio.mesh.request.count{response_code:5,kube_service:{{args.service-name}}}*
here is part of rollout:
analysis:
templates:
- templateName: datadog-error-rate
startingStep: 2 # delay starting analysis run until setWeight: 40%
args:
- name: service-name
value: demo-svc
dryRun:
- metricName: .*
steps:
- setWeight: 20
- pause: {duration: 2m}
- setWeight: 40
- pause: {duration: 2m}
- setWeight: 80
- pause: {duration: 1m}
here is output of AnalysisRUn:
spec:
args:
value: demo-svc
dryRun:
metrics:
initialDelay: 2m
interval: 2m
name: datadog-error-rate
provider:
datadog:
query: |
sum:istio.mesh.request.count{response_code:2*,kube_service:{{args.service-name}}}
successCondition: default(result, 0 ) <= 0
status:
dryRunSummary:
count: 1
phase: Running
runSummary: {}
startedAt: "2024-02-28T23:46:40Z"
Beta Was this translation helpful? Give feedback.
All reactions