Skip to content

Add Dashboards for the OTel collector #1196

Add Dashboards for the OTel collector

Add Dashboards for the OTel collector #1196

Workflow file for this run

name: Build PR Snapshots
on:
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "~1.21.3"
- uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- uses: docker/setup-buildx-action@v3
- uses: anchore/sbom-action/[email protected]
- name: Cache tools
uses: actions/cache@v4
with:
path: .tools
key: snapshot-tools-${{ runner.os }}-${{ hashFiles('internal/tools/go.sum') }}
- name: Touch tools
run: |
mkdir -p .tools
touch .tools/*
- name: Create Snapshot for Pull Request
run: make snapshot
- name: Upload Pull Request Preview
uses: actions/upload-artifact@v4
with:
name: otelcol_dynatrace_${{ github.event.pull_request.number }}_${{ github.run_number }}
path: dist/*