forked from inception-health/otel-export-trace-action
-
Notifications
You must be signed in to change notification settings - Fork 8
28 lines (26 loc) · 974 Bytes
/
dash0.yml
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
name: Export workflow to Dash0
on:
workflow_run:
workflows:
# The name of the workflow(s) that triggers the export
- "My workflow"
types: [completed]
jobs:
otel-export-dash0:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Export workflow to Dash0
uses: corentinmusard/otel-cicd-action@v2
with:
otlpEndpoint: grpc://ingress.eu-west-1.aws.dash0.com:4317
# See https://www.dash0.com/documentation/dash0/get-started/sending-data-to-dash0
#
# Example value for DASH0_OTLP_HEADERS:
# Authorization=Bearer DASH0_AUTH_TOKEN
#
# Example value for DASH0_OTLP_HEADERS with separate dataset:
# Authorization=Bearer DASH0_AUTH_TOKEN, Dash0-Dataset=github-analytics
otlpHeaders: ${{ secrets.DASH0_OTLP_HEADERS }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
runId: ${{ github.event.workflow_run.id }}