{"id":13509628,"url":"https://github.com/lexmag/statix","last_synced_at":"2025-05-15T08:11:02.112Z","repository":{"id":31949034,"uuid":"35518831","full_name":"lexmag/statix","owner":"lexmag","description":"Fast and reliable Elixir client for StatsD-compatible servers","archived":false,"fork":false,"pushed_at":"2024-06-10T19:25:52.000Z","size":67,"stargazers_count":280,"open_issues_count":17,"forks_count":87,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-03T01:49:59.858Z","etag":null,"topics":["elixir","instrumentation","metrics","statsd"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/statix","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lexmag.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-13T00:05:49.000Z","updated_at":"2025-03-28T13:37:29.000Z","dependencies_parsed_at":"2022-09-04T03:00:14.485Z","dependency_job_id":"6ccb9b83-8660-4980-b162-77a7f6dea9cd","html_url":"https://github.com/lexmag/statix","commit_stats":{"total_commits":83,"total_committers":16,"mean_commits":5.1875,"dds":"0.22891566265060237","last_synced_commit":"00c9d690f41847cab8ad5e70f28e501f98035797"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexmag%2Fstatix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexmag%2Fstatix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexmag%2Fstatix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lexmag%2Fstatix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lexmag","download_url":"https://codeload.github.com/lexmag/statix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043218,"owners_count":22004912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","instrumentation","metrics","statsd"],"created_at":"2024-08-01T02:01:10.616Z","updated_at":"2025-05-15T08:11:02.093Z","avatar_url":"https://github.com/lexmag.png","language":"Elixir","funding_links":[],"categories":["Third Party APIs","Metrics"],"sub_categories":[],"readme":"# Statix\n\n[![CI Status](https://github.com/lexmag/statix/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/lexmag/statix/actions/workflows/ci.yml)\n[![Hex Version](https://img.shields.io/hexpm/v/statix.svg \"Hex Version\")](https://hex.pm/packages/statix)\n\nStatix is an Elixir client for StatsD-compatible servers.\nIt is focused on speed without sacrificing simplicity, completeness, or correctness.\n\nWhat makes Statix the fastest library around:\n\n  * direct sending to socket \u003csup\u003e[[1](#direct-sending)]\u003c/sup\u003e\n  * caching of the UDP packet header\n  * connection pooling to distribute the metric sending\n  * diligent usage of [IO lists](http://jlouisramblings.blogspot.se/2013/07/problematic-traits-in-erlang.html)\n\n\u003csup\u003e\u003ca name=\"direct-sending\"\u003e\u003c/a\u003e[1]\u003c/sup\u003e In contrast with process-based clients, Statix has lower memory consumption and higher throughput – Statix v1.0.0 does about __876640__ counter increments per flush:\n\n![Statix](https://www.dropbox.com/s/uijh5i8qgzmd11a/statix-v1.0.0.png?raw=1)\n\n\u003cdetails\u003e\n  \u003csummary\u003eIt is possible to measure that yourself.\u003c/summary\u003e\n\n  ```elixir\n  for _ \u003c- 1..10_000 do\n    Task.start(fn -\u003e\n      for _ \u003c- 1..10_000 do\n        StatixSample.increment(\"sample\", 1)\n      end\n    end)\n  end\n  ```\n\n  Make sure you have StatsD server running to get more realistic results.\n\n\u003c/details\u003e\n\nSee [the documentation](https://hexdocs.pm/statix) for detailed usage information.\n\n## Installation\n\nAdd Statix as a dependency to your `mix.exs` file:\n\n```elixir\ndefp deps() do\n  [{:statix, \"\u003e= 0.0.0\"}]\nend\n```\n\nThen run `mix deps.get` in your shell to fetch the dependencies.\n\n## License\n\nThis software is licensed under [the ISC license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexmag%2Fstatix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flexmag%2Fstatix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexmag%2Fstatix/lists"}