An InfluxDB client: line-protocol writes for 1.x, 2.x and 3.x, InfluxQL and Flux queries
influxdbmetricstime-seriesline-protocolinfluxql
[decks]
"@jennifer/influxdb" = "^0.1.0"| Version | Status | Kind | Pin | Requires | Engines | Capabilities |
|---|---|---|---|---|---|---|
| 0.1.0 | live | git | f90b8a9b21c4 | - | 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 for InfluxDB: build line-protocol points, write them, and query them back: InfluxDB 1.x with InfluxQL, 2.x with token auth and Flux, and 3.x with 2.x writes and InfluxQL queries.
It was Jennifer's bundled influxdb.j module until 0.27; the surface is the same, so moving over changes only the import:
import "@jennifer/influxdb/" as influxdb; # was: import "influxdb.j" as influxdb;jvc add @jennifer/influxdbThis vendors the deck to vendor/<scope>/influxdb/. Without jvc, unpack the src/ subtree of a release archive (<scope>-influxdb-<version>.tar.gz) there.
import "@jennifer/influxdb/" as influxdb;
def c as influxdb.Client init influxdb.clientWith("http://localhost:8086", "metrics", "user", "pass");
def p as influxdb.Point init influxdb.field(influxdb.tag(influxdb.point("cpu"), "host", "srv1"), "value", 0.64);
influxdb.write($c, [$p]);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/influxdb_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.