Open joey100 opened 1 year ago
@joey100 seems that currently only metrics supported as you can see here Anyway I can recommend you to move to use datadog api v2 based on api/v2/query/timeseries
You can also create logs pipeline in datadog to generate metrics and use them, maybe it should be feature request to support logs.
@joey100 seems that currently only metrics supported as you can see here Anyway I can recommend you to move to use datadog api v2 based on api/v2/query/timeseries
You can also create logs pipeline in datadog to generate metrics and use them, maybe it should be feature request to support logs.
Got it, thanks.
we found the same issue where metrics is hard coded. still thinking of creative workarounds (thanks for the pipeline idea!), but unless there is a technical reason to avoid it supporting logs, apm/spans, etc. query types would be a useful feature.
trying to use apiVersion: v2
in a ClusterAnalysisTemplate
with argo-rollouts:latest
gives error despite seeming to match docs and code clearly supporting it. 🤔
apiVersion: argoproj.io/v1alpha1
kind: ClusterAnalysisTemplate
metadata:
name: error-rate
spec:
args:
- name: dd-service-name
metrics:
- name: error-rate
interval: 1m
successCondition: default(result, 0) < 1
failureLimit: 1
provider:
datadog:
apiVersion: v2
interval: 1m
query: |
avg(last_1h):anomalies(sum:trace.graphql.execute.errors{cluster_name:foobah-eks-2022-09,env:production,service:{{args.dd-service-name}}}, 'robust', 4, direction='above', alert_window='last_5m', interval=1, count_default_zero='true')
just removing apiVersion
works fine. ~what am i missing?~
apiVersion: v2
is only supported on 1.5.0-rc1.
This issue is stale because it has been open 60 days with no activity.
Checklist:
Describe the bug
When we use analysis template to query datadog logs, even though the analysisrun is running, the value is '[]', while in datadog we do see the results. When we use analysis template to query datadog metrics, it works fine, the analysisrun runs and can get the expected values.
To Reproduce
Expected behavior
The analysisrun could query datadog logs successfully, with the correct logs result but not the nil result.
Screenshots
Version
1.4
Logs
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.