gostats
gostats copied to clipboard
Go client for Stats
Is it possible to use gostats with UDP protocol instead of TCP? If so, then what are the changes we have to do, and how we can check it is...
It would be great if `gostats` supported the [prometheus text exposition format](https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md) on a new HTTP route `/metrics`. This would enable services like https://github.com/lyft/ratelimit to be more easily deployed in...
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 4.0.0. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @takost in actions/checkout#1436 Support fetching without the --progress option...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.7.0. Release notes Sourced from golangci/golangci-lint-action's releases. v3.7.0 What's Changed Changes feat: working-directory with only-new-issues by @CfirTsabari in golangci/golangci-lint-action#795 Documentation docs: improve How to use...
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.3.1 to 4.1.0. Release notes Sourced from actions/setup-go's releases. v4.1.0 What's Changed In scope of this release, slow installation on Windows was fixed by @dsame in actions/setup-go#393...
This commit changes the statsStore to remove Counters and Timers that were not used N times between flush intervals. This should alleviate memory pressure when during cardinality explosions.
I was looking at an application which uses gostats earlier today and found that it was leaking memory because it was misusing the gostats API. At a high-level: - The...
Users are reporting noisy warning messages during reconnect as it currently retries every 3 seconds. ``` {"level":"warn","ts":1749885509.323616,"logger":"gostats.loggingsink","msg":"connection error: dial tcp 10.45.31.218:8225: connect: connection refused","json":{}} ``` Implementing an exponential backoff with...
Add a reservoir implementation for timers. This relies on a new timer type, and using this type should allow for a more controlled stat load from timers.