OpenTelemetry / Export #1527
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| 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 }} |