Skip to content

Commit b2ec5b7

Browse files
authored
action: use opentelemetry composite action (#195)
1 parent 6827d02 commit b2ec5b7

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/opentelemetry.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: OpenTelemetry Export Trace
3+
4+
on:
5+
workflow_run:
6+
workflows:
7+
- test
8+
- test-reporter
9+
types: [completed]
10+
11+
jobs:
12+
otel-export-trace:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: elastic/apm-pipeline-library/.github/actions/opentelemetry@current
16+
with:
17+
vaultUrl: ${{ secrets.VAULT_ADDR }}
18+
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
19+
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}

.github/workflows/test-reporter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
## Workflow to process the JUnit test results and add a report to the checks.
3-
name: Test Report
3+
name: test-reporter
44
on:
55
workflow_run:
66
workflows:

0 commit comments

Comments
 (0)