mirror of
https://github.com/libp2p/go-libp2p.git
synced 2026-04-23 00:27:05 +08:00
rcmgr: Use prometheus SDK for rcmgr metrics (#2044)
* Replace OpenCensus with Prometheus Go SDK Allows for much more efficient metric collecting * PR comments * Try a different way of testing noallocs * CI fiddling * CI fiddling * Undo debug change * Return early * Debug * Try AllocsPerRun * Try gosched in noop * Use AllocsPerRun * Try without cover * Use tag * Revert "Try without cover" This reverts commit e91b1e8f0d0ffbe6842a37925eb72e0177bf0773. * Cleanup debug code * Use global string slice pool
This commit is contained in:
@@ -5,3 +5,7 @@ runs:
|
||||
shell: bash
|
||||
run: sysctl -w net.core.rmem_max=2500000
|
||||
if: ${{ matrix.os == 'ubuntu' }}
|
||||
- name: Run nocover tests. These are tests that require the coverage analysis to be off # See https://github.com/protocol/.github/issues/460
|
||||
shell: bash
|
||||
# This matches only tests with "NoCover" in their test name to avoid running all tests again.
|
||||
run: go test -tags nocover -run NoCover -v ./...
|
||||
|
||||
Reference in New Issue
Block a user