Skip to content

Send Telemetry after Other Workflow Example #54

Send Telemetry after Other Workflow Example

Send Telemetry after Other Workflow Example #54

name: Send Telemetry after Other Workflow Example
on:
workflow_run:
# Specify the workflows you want to collect telemetry.
workflows:
- Example Workflow 01
- Example Workflow 02
- Example Workflow 03
types:
- completed
permissions:
# Required for private repositories
actions: read
jobs:
send-telemetry:
name: Send CI Telemetry
runs-on: ubuntu-latest
steps:
- name: Run
id: run
uses: paper2/github-actions-opentelemetry@main
env:
OTEL_EXPORTER_OTLP_ENDPOINT:
${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
OTEL_SERVICE_NAME: github-actions-opentelemetry
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}