forked from inception-health/otel-export-trace-action
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example for configuration with Dash0
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Export workflow to Dash0 | ||
|
||
on: | ||
workflow_run: | ||
workflows: | ||
# The name of the workflow(s) that triggers the export | ||
- "Build" | ||
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@v1 | ||
with: | ||
otlpEndpoint: grpc://ingress.eu-west-1.aws.dash0-dev.com | ||
# 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters