Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
add custom metric types #23
Merged
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ca0a0fc
metrics: add counter
suyash 3d577fb
examples: modify http_counter and singleton_counter to use Counter
suyash 04a7524
client: add a simple test for counter
suyash a3bb3e6
metrics: add Val and Set to Counter interface
suyash 7261a7b
metrics: counter: remove decrement operations
suyash 7643da8
metrics: counter: return error for -ve inc
suyash 1f8946e
client: add support and fix tests
suyash 65ba8b6
metrics: add gauge
suyash b1d3a2e
client: add support and tests for gauge
suyash 6f6536d
metrics: add Timer
suyash 48144d7
client: add support and tests for timer
suyash 7d6dc53
metrics: timer: return error on Stop
suyash b865013
make: disable interfacer
suyash 07df091
metrics: fix timer units
suyash 7b8524c
registry: try adding Indom instead of panicing when it is absent
suyash be5996c
metrics: add CounterVector
suyash 24abff6
client: add support for CounterVector
suyash 19d781e
metrics: add MustSet and MustInc
suyash 7fef6d9
client: fix lint error
suyash f6a3a20
metrics: add GaugeVector
suyash a33f652
client: add support and tests for PCPGaugeVector
suyash 415177e
client: test Dec for GaugeVector
suyash ec80fee
client: fix GaugeVector test
suyash
Jump to file or symbol
Failed to load files and symbols.
Viewing a subset of changes. View all
101
metrics.go