{"name":"@jennifer/statsd","description":"A StatsD client: counters, gauges, timings and sets over UDP, with sample rates, DogStatsD tags and batching","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/jennifer-language/deck-statsd.git","ref":"0.1.0","commit":"d127838ced353e0242267882734e4791573afe8d","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.25.0"},"capabilities":["net"],"keywords":["statsd","dogstatsd","metrics","monitoring","observability"],"description":"A StatsD client: counters, gauges, timings and sets over UDP, with sample rates, DogStatsD tags and batching","publishedAt":"1793825935","repoId":1446180129,"repoOwnerId":305727207,"repoOwner":"jennifer-language"}},"readme":"# @jennifer/statsd\n\n[![test](https://github.com/jennifer-language/deck-statsd/actions/workflows/test.yml/badge.svg)](https://github.com/jennifer-language/deck-statsd/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://jennifer-language.github.io/deck-statsd/)\n[![release](https://img.shields.io/github/v/release/jennifer-language/deck-statsd)](https://github.com/jennifer-language/deck-statsd/releases/latest)\n\nA [Jennifer](https://jennifer-lang.dev/) deck that pushes metrics to a\nStatsD agent (StatsD, Datadog's DogStatsD, Telegraf) over UDP: counters,\ngauges, timings and sets, with sample rates, DogStatsD tags and batching.\nFire-and-forget: a metric is one datagram and never blocks the program.\n\nIt was Jennifer's bundled `statsd.j` module until 0.27; the surface is the same,\nso moving over changes only the import:\n\n```jennifer\nimport \"@jennifer/statsd/\" as statsd;   # was: import \"statsd.j\" as statsd;\n```\n\n**[Documentation](https://jennifer-language.github.io/deck-statsd/)**\n\n## Install\n\n```sh\njvc add @jennifer/statsd\n```\n\nThis vendors the deck to `vendor/\u003cscope\u003e/statsd/`. Without `jvc`, unpack the\n`src/` subtree of a release archive (`\u003cscope\u003e-statsd-\u003cversion\u003e.tar.gz`) there.\n\n## Usage\n\n```jennifer\nimport \"@jennifer/statsd/\" as statsd;\n\ndef c as statsd.Client init statsd.clientWith(\"127.0.0.1:8125\", \"web\");\nstatsd.increment($c, \"requests\");\nstatsd.timing($c, \"response\", 42);\nstatsd.close($c);\n```\n\n## Requirements\n\nJennifer 0.25.0 or newer, the default `jennifer` binary (`net`), not\n`jennifer-tiny`.\n\n## Development\n\n```sh\ntools/check-all.sh                   # the full gate, as CI runs it\njennifer test src/statsd_test.j      # the test overlay\ntools/check-docs.sh                  # docs against the code\ntools/pack.sh dist                   # build the release archive\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n`tools/check-headers.sh` checks every source file's SPDX header against\n`deck.toml`.\n"}