Skip to content

Commit

Permalink
Update docs with latest info from Datadog.
Browse files Browse the repository at this point in the history
  • Loading branch information
meeech committed Sep 20, 2023
1 parent a892417 commit 77ed492
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/analysis/datadog.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ stringData:

### Working with Datadog API v2

!!! note
Datadog is moving away from the legacy v1 API. Rate limits imposed by Datadog are therefore stricter when using v1. It is recommended to switch to v2 soon.

#### Moving to v2

If your old v1 was just a simple metric query - no formula as part of the query - then you can just move to v2 by updating the `apiVersion` in your existing Analysis Template, and everything should work.
Expand Down Expand Up @@ -172,3 +169,9 @@ metrics:
queries:
q: "{{ `max:kubernetes.containers.restarts{kube_app_name:{{args.kube_app_name}},rollouts_pod_template_hash:{{args.canary-hash}}}` }}"
```
#### Rate Limits
For the `v1` API, you ask for an increase on the `api/v1/query` route.

Fgor the `v2` API, the Ratelimit-Name you ask for an increase in is the `query_scalar_public`.

0 comments on commit 77ed492

Please sign in to comment.