Add accepted/refused/failed profile sample metrics to the receivers (… #3209
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
| name: Automation - Performance | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: read-all | |
| jobs: | |
| runperf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup Go | |
| uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 | |
| with: | |
| go-version: oldstable | |
| cache: false | |
| - name: Cache Go | |
| id: go-cache | |
| uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1 | |
| with: | |
| path: | | |
| ~/go/bin | |
| ~/go/pkg/mod | |
| key: go-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/go.sum') }} | |
| - name: Run benchmark | |
| run: make gobenchmark | |
| # Disabling until fine-grained permissions token enabled for the | |
| # repository | |
| #- name: Store benchmark result | |
| # uses: benchmark-action/github-action-benchmark@v1 | |
| # with: | |
| # tool: 'go' | |
| # output-file-path: benchmarks.txt | |
| # gh-pages-branch: gh-pages | |
| # auto-push: true | |
| # github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # benchmark-data-dir-path: "docs/dev/bench" |