Skip to content

Commit

Permalink
actions にトレーシングを追加 (#10)
Browse files Browse the repository at this point in the history
* actions にトレーシングを追加

* workflow_run に変更

* fixed
  • Loading branch information
yuzujoe authored Oct 26, 2023
1 parent 237ded3 commit 7573819
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/kubectl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 7573819

Please sign in to comment.