Skip to content

Add a way to limit the number of samples we keep for buffered metrics #78

Add a way to limit the number of samples we keep for buffered metrics

Add a way to limit the number of samples we keep for buffered metrics #78

Workflow file for this run

name: generate-mock
on:
pull_request:
jobs:
native:
strategy:
matrix:
runs-on:
- ubuntu-latest
- windows-latest
fail-fast: false
runs-on: ${{ matrix.runs-on }}
steps:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 'stable'
- name: Checkout code
uses: actions/checkout@v3
- run: go install github.com/golang/mock/mockgen@v1.6.0
- run: go generate statsd/statsd.go
- run: git diff --exit-code HEAD