TinyContext v0.5.0 adds optional, vendor-neutral OpenTelemetry instrumentation and OTLP export for standalone deployments.
Highlights:
- Add optional OpenTelemetry tracing and metrics with standard OTLP environment configuration.
- Instrument memory lifecycle operations, recall pipeline stages, embedding, ranking, SQLite store access, and background reindex work below the FastAPI/MCP transport layer.
- Keep telemetry payload-free by default: no memory contents, prompts, queries, session IDs, paths, credentials, exception messages, or stack traces are exported.
- Add
tinysuite-context[telemetry]optional dependencies, with Docker and CI installing the telemetry extra. - Document pip, uvx, and Docker telemetry setup plus supported
OTEL_*configuration. - Improve recall performance through bounded candidate pooling.
- Add memory sorting, default embedding-model updates, near-duplicate detection, and token-length notices.
Validation:
python scripts/check_release_metadata.py --expected-version v0.5.0python -m unittest discover tests -qpython scripts/smoke_mcp_stdio.pypython -m buildgit diff --check