-
Notifications
You must be signed in to change notification settings - Fork 7
55 lines (50 loc) · 1.81 KB
/
cicd-otel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
name: OpenTelemetry / Export
on:
workflow_run:
workflows:
- "Argo / Build"
- "Flux / Build"
- "Project / Release Drafter"
- "Project / Release labels"
- "Project / Size PR"
types: [completed]
jobs:
# otel-export-dash0:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Export workflow to Dash0
# uses: corentinmusard/otel-cicd-action@v2
# with:
# otlpEndpoint: grpc://ingress.eu-west-1.aws.dash0-dev.com:4317
# otlpHeaders: ${{ secrets.DASH0_OTLP_HEADERS }}
# githubToken: ${{ secrets.GITHUB_TOKEN }}
# runId: ${{ github.event.workflow_run.id }}
# name: Export workflow to Axiom
# otel-export-axiom:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Export workflow to Axiom
# uses: corentinmusard/otel-cicd-action@v2
# with:
# otlpEndpoint: https://api.axiom.co/v1/traces
# # Example value for AXIOM_OTLP_HEADERS:
# # Authorization=Bearer YOUR_API_TOKEN,X-Axiom-Dataset=YOUR_DATASET
# otlpHeaders: ${{ secrets.AXIOM_OTLP_HEADERS }}
# githubToken: ${{ secrets.GITHUB_TOKEN }}
# runId: ${{ github.event.workflow_run.id }}
otel-export-honeycomb:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Export workflow to Honeycomb
uses: corentinmusard/otel-cicd-action@v2
with:
otlpEndpoint: grpc://api.honeycomb.io:443/
# Example value for HONEYCOMB_OTLP_HEADERS:
# x-honeycomb-team=YOUR_API_KEY,x-honeycomb-dataset=YOUR_DATASET
otlpHeaders: ${{ secrets.HONEYCOMB_OTLP_HEADERS }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
runId: ${{ github.event.workflow_run.id }}