Skip to content

Commit

Permalink
github-action: enable opentelemetry for tracing GitHub actions (#206)
Browse files Browse the repository at this point in the history
Use Observability for the CICD
  • Loading branch information
v1v authored Mar 14, 2024
1 parent 5327ef7 commit a11d371
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/opentelemetry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# Look up results at https://ela.st/oblt-ci-cd-stats
# There will be one service per GitHub repository, including the org name, and one Transaction per Workflow.
name: OpenTelemetry Export Trace

on:
workflow_run:
workflows: [ "*" ]
types: [completed]

permissions:
contents: read
actions: read

jobs:
otel-export-trace:
runs-on: ubuntu-latest
steps:
- uses: elastic/apm-pipeline-library/.github/actions/opentelemetry@current
with:
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}

0 comments on commit a11d371

Please sign in to comment.