File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
detectors/node/opentelemetry-resource-detector-github Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,21 @@ async function run() {
33
33
run ()
34
34
```
35
35
36
+ ## Available detectors
37
+
38
+ ### GitHub Detector
39
+
40
+ | Resource Attribute | Description |
41
+ | --------------------| -----------------------------------------------------------|
42
+ | github.actor | Value of Process Environment Variable ` GITHUB_ACTOR ` |
43
+ | github.base_ref | Value of Process Environment Variable ` GITHUB_BASE_REF ` |
44
+ | github.head_ref | Value of Process Environment Variable ` GITHUB_HEAD_REF ` |
45
+ | github.ref | Value of Process Environment Variable ` GITHUB_REF ` |
46
+ | github.run_id | Value of Process Environment Variable ` GITHUB_RUN_ID ` |
47
+ | github.run_number | Value of Process Environment Variable ` GITHUB_RUN_NUMBER ` |
48
+ | github.sha | Value of Process Environment Variable ` GITHUB_SHA ` |
49
+ | github.workflow | Value of Process Environment Variable ` GITHUB_WORKFLOW ` |
50
+
36
51
## Useful links
37
52
38
53
- [ GitHub Action Environment Variables] ( https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables )
You can’t perform that action at this time.
0 commit comments