Repository navigation
v0.3.1
ynr v0.3.1. (v0.3.0 was tagged but never published: its release run found the long-hostname bug fixed in #81.)
Install
- Homebrew now installs the full build: DuckDB, the hot tier,
query,centraland the dashboard, as ADR-001 says (#73). Releases addynr-full_<ver>_<os>_<arch>.tar.gzarchives. The slimynr_…andynr-stub-vendor_…archives keep their names. The release job runs on macOS, with GCC cross toolchains for linux. This is the first release built that way. make install, as ynh, ynf and ynm have (#60).- The docs site: https://eyelock.github.io/ynr/, a Diátaxis tutorial, how-tos, reference and explanation (#61).
Behaviour
ynr servestops reading a run folder over its budget, and stampsynr.provenance.warning=over-budget(ADR-003). The budget is the manifest'srun_quota_bytes, which ynf writes fromtelemetry.run_quota, else 64 MiB (#75).ynr conformanceimplements rule 13, "never into memory". It compares ynm's store before and after the runs, in a scratchYNM_HOME(#70).- Query windows longer than 7 days include days without a rollup yet, such as today, with no double counting (#71).
recent,itemandtracereturn theactorhandle, so an erasure can be checked: it shows(erased)(#71).- New columns
collector_instanceandreceived_at, which ynr stamps asynr.received_atwhen it receives a record (ADR-005, #74). - Parquet files carry
ynr.schema_version, now 2. Files from v0.2.2 have no key and read as version 1. A newer version is refused (#76, #78). - A store with v0.2.2 parts and new parts reads correctly. Before #78, DuckDB bound every part to the first file's columns and silently dropped the new values.
ynr queryfinds acentralwhose socket fell back to the temp folder, so--socketisn't needed (#72).- The embedded collector logs warnings and errors only, unless
--debugis set. The top-level usage lists every flag and environment variable (#72).
Dependencies
- DuckDB 2.0 (duckdb-go v2.20000.0): SQL lambdas use
lambda a: …(#67). spoolexporterv0.3.0 (OpenTelemetry 3 peers for the npm exporter, #69, #79), plus Go, npm and Actions updates (#57, #58, #63, #64, #66, #68).
Tests: three flaky tests fixed. They counted at-least-once redelivery as a failure (#65), and a lease test stole the lease without the store's lock (#77).
Fix in v0.3.1: ynr serve default collector id stays within 63 characters on long hostnames (#81).
Known limit: the linux full archives need libstdc++ from GCC 13 or later (Ubuntu 24.04, Debian 13 or newer); on older systems use the slim archive.