Skip to content

chore: bump version to 7.1.0 #25

chore: bump version to 7.1.0

chore: bump version to 7.1.0 #25

name: Example - Distributed Tracing
on:
push:
branches:
- main
- develop
workflow_dispatch:
# NOTE: Configure these secrets in your repository settings:
# - OTEL_COLLECTOR_URL: Your OpenTelemetry collector endpoint URL
jobs:
trace-integration:
runs-on: ubuntu-latest
name: Traced Background Job
steps:
- name: 'Checkout code'
uses: actions/checkout@v3
- name: 'Set up OpenTelemetry endpoint'
id: otel-config
env:
OTEL_URL: ${{ secrets.OTEL_COLLECTOR_URL }}
run: echo "OTEL_URL=${OTEL_URL}" >> $GITHUB_OUTPUT
- name: 'Run traced job'
uses: ./.github/actions/python-script-runner
with:
script-path: './examples/sample_script.py'