diff --git a/.github/workflows/kubectl.yaml b/.github/workflows/kubectl.yaml index 69966f7..3c0683c 100644 --- a/.github/workflows/kubectl.yaml +++ b/.github/workflows/kubectl.yaml @@ -151,3 +151,19 @@ jobs: user: "${{ github.actor }}" description: "${{ github.event.head_commit.message }}" commit: "${{ github.sha }}" + + otel-export: + runs-on: ubuntu-latest + if: always() + needs: kubectl + steps: + - name: Export Workflow Trace + uses: inception-health/otel-export-trace-action@latest + if: always() + with: + jobName: ${{ github.job }} + otlpEndpoint: ${{ secrets.OTLP_ENDPOINT }} + otlpHeaders: ${{ secrets.OTLP_HEADERS }} + githubToken: ${{ secrets.GITHUB_TOKEN }} + runId: ${{ github.event.workflow_run.id }} + serviceName: ${{ github.job }}