generated from int128/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 22
/
action.yaml
54 lines (50 loc) · 1.62 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: datadog-actions-metrics
description: submit metrics of GitHub Actions to Datadog
inputs:
github-token:
description: GitHub token to get jobs and steps if needed
default: ${{ github.token }}
required: true
github-token-rate-limit-metrics:
description: GitHub token for rate limit metrics
default: ${{ github.token }}
required: true
datadog-api-key:
description: Datadog API key (dry-run if not set)
required: false
datadog-site:
description: Datadog Site name if different than datadoghq.com.
required: false
datadog-tags:
description: Additional tags in the form of `key:value` in a multiline string
required: false
metrics-patterns:
description: Filter the metrics by patterns in a multiline string
required: false
collect-job-metrics:
description: Collect job metrics
required: false
default: 'false'
collect-step-metrics:
description: Collect step metrics
required: false
default: 'false'
prefer-distribution-workflow-run-metrics:
description: If true, send the distribution metrics instead of gauge metrics
required: false
default: 'false'
prefer-distribution-job-metrics:
description: If true, send the distribution metrics instead of gauge metrics
required: false
default: 'false'
prefer-distribution-step-metrics:
description: If true, send the distribution metrics instead of gauge metrics
required: false
default: 'false'
send-pull-request-labels:
description: Send pull request labels as Datadog tags
required: false
default: 'false'
runs:
using: 'node20'
main: 'dist/index.js'