Is it possible to set more than one Datadog api key and app key? #3726
Replies: 1 comment
-
I have not tried it, but you should be able to specify the
apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
name: loq-error-rate
spec:
args:
- name: service-name
metrics:
- name: error-rate
interval: 5m
successCondition: result <= 0.01
failureLimit: 3
provider:
datadog:
apiVersion: v2
interval: 5m
secretRef:
name: "mysecret" # <-------------- this
namespaced: true
query: |
sum:requests.error.rate{service:{{args.service-name}}} I think it should work with 1.7.2, but it is not referenced in |
Beta Was this translation helpful? Give feedback.
-
I have a case where we have multiple Datadog accounts. Is there a way to define that?
https://github.com/argoproj/argo-rollouts/blob/master/metricproviders/datadog/datadog.go#L421
Based on the code, this is not possible.
BUT... I guess I can define a new plugin... https://argo-rollouts.readthedocs.io/en/stable/analysis/plugins/
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions