Skip to content

Commit 3855fdd

Browse files
plengauergithub-actions[bot]
authored andcommitted
Deploy OpenTelemetry
1 parent 394fa83 commit 3855fdd

8 files changed

Lines changed: 89 additions & 1 deletion

File tree

.github/workflows/autorerun.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ jobs:
99
bump:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
13+
env:
14+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
15+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
16+
with:
17+
secrets_to_redact: |-
18+
${{ github.token }}
19+
${{ secrets.ACTIONS_GITHUB_TOKEN }}
1220
- uses: plengauer/autorerun@v0.37.0
1321
with:
1422
github_token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}

.github/workflows/autoversion.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ jobs:
99
bump:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
13+
env:
14+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
15+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
16+
with:
17+
secrets_to_redact: |-
18+
${{ github.token }}
19+
${{ secrets.ACTIONS_GITHUB_TOKEN }}
20+
${{ secrets.OPENAI_API_TOKEN }}
1221
- uses: plengauer/autoversion@v2.3.0
1322
with:
1423
github_token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ jobs:
1111
run:
1212
working-directory: ./src
1313
steps:
14+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
15+
env:
16+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
17+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
18+
with:
19+
secrets_to_redact: ${{ github.token }}
1420
- uses: actions/checkout@v6
1521
- run: sudo apt-get update && sudo apt-get install devscripts debhelper
1622
- run: sed -i "s/__VERSION__/$(cat ../VERSION)/g" DEBIAN/control
@@ -25,6 +31,12 @@ jobs:
2531
needs: build
2632
runs-on: ubuntu-latest
2733
steps:
34+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
35+
env:
36+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
37+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
38+
with:
39+
secrets_to_redact: ${{ github.token }}
2840
- uses: actions/download-artifact@v7.0.0
2941
with:
3042
name: package.deb
@@ -41,6 +53,14 @@ jobs:
4153
contents: write
4254
actions: read
4355
steps:
56+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
57+
env:
58+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
59+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
60+
with:
61+
secrets_to_redact: |-
62+
${{ github.token }}
63+
${{ secrets.ACTIONS_GITHUB_TOKEN }}
4464
- uses: actions/checkout@v6.0.2
4565
- run: echo "version=$(cat VERSION)" >> "$GITHUB_OUTPUT"
4666
id: version
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
on:
3+
push:
4+
paths:
5+
- .github/workflows/copilot-setup-steps.yml
6+
jobs:
7+
copilot-setup-steps:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
11+
env:
12+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
13+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
14+
- run: |
15+
:
16+
permissions:
17+
actions: read

.github/workflows/observability.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: OpenTelemetry
22

33
on:
44
workflow_run:
5-
workflows: [Autoapprove, Autorerun, Autoversion, Publish, Renovate, Copilot coding agent]
5+
workflows: [Autorerun, Autoversion, CI, CodeQL, Copilot code review, Copilot coding agent, Publish, Renovate]
66
types:
77
- completed
88

@@ -16,3 +16,4 @@ jobs:
1616
OTEL_EXPORTER_OTLP_HEADERS: '${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}'
1717
permissions:
1818
actions: read
19+
container: ghcr.io/plengauer/opentelemetry-github-workflow-instrumentation-runner:v5.45.1
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
name: OpenTelemetry
3+
on:
4+
check_suite:
5+
types:
6+
- completed
7+
jobs:
8+
export:
9+
if: github.event.check_suite.app.slug != 'github-actions'
10+
runs-on: ubuntu-latest
11+
permissions:
12+
checks: read
13+
actions: read
14+
steps:
15+
- uses: plengauer/opentelemetry-github/actions/instrument/checksuite@v5.45.1
16+
env:
17+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
18+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ jobs:
1515
permissions:
1616
pages: write
1717
id-token: write
18+
actions: read
1819
steps:
20+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
21+
env:
22+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
23+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
24+
with:
25+
secrets_to_redact: ${{ github.token }}
1926
- uses: plengauer/create-deb-repository@v0.0.17
2027
- uses: actions/upload-pages-artifact@v4.0.0
2128
with:

.github/workflows/renovate.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ jobs:
1212
renovate:
1313
runs-on: ubuntu-latest
1414
steps:
15+
- uses: plengauer/opentelemetry-github/actions/instrument/job@v5.45.1
16+
env:
17+
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
18+
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
19+
with:
20+
secrets_to_redact: |-
21+
${{ github.token }}
22+
${{ secrets.ACTIONS_GITHUB_TOKEN }}
1523
- uses: renovatebot/github-action@v46.1.2
1624
env:
1725
RENOVATE_REPOSITORIES: ${{ github.repository }}

0 commit comments

Comments
 (0)