A StatsD client: counters, gauges, timings and sets over UDP, with sample rates, DogStatsD tags and batching
statsddogstatsdmetricsmonitoringobservability
[decks]
"@jennifer/statsd" = "^0.1.0"| Version | Status | Kind | Pin | Requires | Engines | Capabilities |
|---|---|---|---|---|---|---|
| 0.1.0 | live | git | d127838ced35 | - | jennifer >=0.25.0 | net |
LGPL-3.0-only
0.1.0Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.
A Jennifer deck that pushes metrics to a StatsD agent (StatsD, Datadog's DogStatsD, Telegraf) over UDP: counters, gauges, timings and sets, with sample rates, DogStatsD tags and batching. Fire-and-forget: a metric is one datagram and never blocks the program.
It was Jennifer's bundled statsd.j module until 0.27; the surface is the same, so moving over changes only the import:
import "@jennifer/statsd/" as statsd; # was: import "statsd.j" as statsd;jvc add @jennifer/statsdThis vendors the deck to vendor/<scope>/statsd/. Without jvc, unpack the src/ subtree of a release archive (<scope>-statsd-<version>.tar.gz) there.
import "@jennifer/statsd/" as statsd;
def c as statsd.Client init statsd.clientWith("127.0.0.1:8125", "web");
statsd.increment($c, "requests");
statsd.timing($c, "response", 42);
statsd.close($c);Jennifer 0.25.0 or newer, the default jennifer binary (net), not jennifer-tiny.
tools/check-all.sh # the full gate, as CI runs it
jennifer test src/statsd_test.j # the test overlay
tools/check-docs.sh # docs against the code
tools/pack.sh dist # build the release archiveLGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.
tools/check-headers.sh checks every source file's SPDX header against deck.toml.