Skip to content

Commit

Permalink
Add example for configuration with Dash0
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Nov 4, 2024
1 parent a335d59 commit 2b77915
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/dash0.yml
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 }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ We provide sample code for popular platforms. If you feel one is missing, please
| Axiom | [axiom.yml](https://github.com/corentinmusard/otel-cicd-action/tree/main/.github/workflows/axiom.yml) |
| New Relic | [newrelic.yml](https://github.com/corentinmusard/otel-cicd-action/tree/main/.github/workflows/newrelic.yml) |
| Honeycomb | [honeycomb.yml](https://github.com/corentinmusard/otel-cicd-action/tree/main/.github/workflows/honeycomb.yml) |
| Dash0 | [dash0.yml](https://github.com/corentinmusard/otel-cicd-action/tree/main/.github/workflows/dash0.yml) |
| Jaeger | WIP |
| Grafana | WIP |

Expand Down

0 comments on commit 2b77915

Please sign in to comment.