{"id":71969,"library":"segmentio-stats-v4","title":"Stats","description":"Tools for producing application performance metrics to various metric collection backends.","status":"active","version":"4.9.0","language":"go","source_language":null,"source_url":"https://github.com/segmentio/stats","tags":["metrics","monitoring","performance","segment"],"install":[{"cmd":"go get github.com/segmentio/stats/v4","lang":"bash","label":"Install github.com/segmentio/stats/v4"}],"dependencies":[],"imports":[{"symbol":"stats","correct":"github.com/segmentio/stats/v4"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/segmentio/stats/v4\"\n)\n\nfunc main() {\n\tstats.Incr(\"requests.count\")\n\tstats.Flush()\n}","lang":"go","description":"Increment a counter metric and flush it to the configured backend."},"warnings":[],"env_vars":null,"search_vec":"'applic':5 'backend':12 'collect':11 'metric':7,10,13 'monitor':14 'perform':6,15 'produc':4 'segment':16 'stat':1 'tool':2 'various':9","created_at":"2026-06-17T18:33:35.131587+00:00","updated_at":"2026-06-17T18:33:35.131587+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/segmentio/stats","github":"https://github.com/segmentio/stats","docs":"https://pkg.go.dev/github.com/segmentio/stats/v4#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}