Changelog¶
Unreleased¶
- OpenTelemetry meter bridge (
latenzy.otel.OTelBridge), behind the newotelextra (pip install 'latenzy[otel]'). ARecordSinkprotocol +FanoutSinklet the prober and live recorder emit to Prometheus and/or OpenTelemetry through one interface. Instrument names follow the OTel GenAI conventions (gen_ai.client.operation.duration,gen_ai.client.token.usage) plus latenzy-namespaced TTFT/throughput. Enable forlatenzy runvia a newotelconfig section (enabled,endpoint). Base wheel stays light — the OpenTelemetry packages are lazy-imported and never pulled in byimport latenzy. - Passive live-traffic instrumentation:
LiveRecorder/LiveObservation/classify_prompt/measure_streamrecord real application LLM-call latency into the same metric names under a newsource="live"label (prober traffic issource="synthetic"). Label values are charset-validated and token counts bounded, matching the prober's hardening. Recording rules, the Grafana dashboard (newsourcefilter), andexamples/demo_live.pyupdated in lockstep. Metric semantics follow the OpenTelemetry GenAI conventions.
0.1.0 — 2026-08-04¶
First real release.
- Synthetic prober + Prometheus exporter for Anthropic, OpenAI, and Gemini.
Per-model TTFT, total duration, streaming tokens/sec, and outcome metrics;
fail-closed
/metricsserver;latenzy run/once/doctorCLI. - Grafana model-comparison dashboard (
dashboards/, library ID 25642), hourly/daily recording rules and alert rules (prometheus/), and a docker-compose standalone bundle (deploy/) with prober + Prometheus + Grafana pre-provisioned. - Security-hardened through a four-round audit → red-team loop: bounded probe
streaming, fail-closed response parsing, connection-capped exporter,
no-default-secret deploy bundle with digest-pinned images. See
SECURITY.md.
0.0.1 — 2026-08-04¶
- Name reservation placeholder on PyPI/TestPyPI; AGPL-3.0-only;
CITATION.cff.