docs: fix Prometheus README snippet, remove nonexistent NewHandler() #408
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: Test | |
| "on": | |
| - pull_request | |
| - push | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go: | |
| - 'oldstable' | |
| - 'stable' | |
| label: | |
| - ubuntu-latest-large | |
| runs-on: ${{ matrix.label }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup Go (${{ matrix.go }}) | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Identify OS | |
| run: uname -a | |
| - name: Identify Go Version | |
| run: go version | |
| - name: Download Dependencies | |
| run: go mod download | |
| - name: Run Tests | |
| run: go test -trimpath -race ./... | |
| - name: Run Fuzz Tests | |
| run: go test -fuzz=FuzzAppendSanitizedMetricName -fuzztime=1000000x -parallel=2 ./datadog |