Skip to content

Commit 35921db

Browse files
authored
Create otel-export.yaml
1 parent f414da3 commit 35921db

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/otel-export.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: OpenTelemetry Export Trace
2+
3+
on:
4+
workflow_run:
5+
workflows: [my-workflow]
6+
types: [completed]
7+
8+
jobs:
9+
otel-export-trace:
10+
name: OpenTelemetry Export Trace
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Export Workflow Trace
14+
uses: inception-health/otel-export-trace-action@latest
15+
with:
16+
otlpEndpoint: https://otlp.eu01.nr-data.net:443/
17+
otlpHeaders: ${{ secrets.OTLP_HEADERS }}
18+
githubToken: ${{ secrets.GITHUB_TOKEN }}
19+
runId: ${{ github.event.workflow_run.id }}

0 commit comments

Comments
 (0)