Skip to content

Commit

Permalink
Documentation updated and fork CI updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
ariadnarouco committed Aug 9, 2024
1 parent b2d0c07 commit 26c1ee9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/argo-rollouts-fork-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ name: Argo Rollouts Fork CI

on:
workflow_dispatch:

pull_request:
types:
- opened
- synchronize
push:
branches:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
31 changes: 31 additions & 0 deletions docs/analysis/datadog.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,37 @@ stringData:

`apiVersion` here is different from the `apiVersion` from the Datadog configuration above.

!!! important
###### Namespaced secret

To use a secret within the Analysis template namespace, add a secretRef section.

```yaml
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"
namespaced: true
query: |
sum:requests.error.rate{service:{{args.service-name}}}
```



### Working with Datadog API v2

!!! important
Expand Down

0 comments on commit 26c1ee9

Please sign in to comment.