Blog

Latest updates, guides, and insights about Valkey monitoring and observability.

OpenTelemetry, both directions: the monitor speaks OTLP in and out

The monitor now speaks OpenTelemetry in both directions: it re-emits its whole Prometheus surface and its events over OTLP, and its /v1/traces endpoint ingests OTLP spans from any instrumented service. That gives BetterDB four positions in your pipeline - feed your collector, be one, produce spans, or consume them and add the one thing a pure trace tool can't: the live database state behind the span. It fits wherever your stack has an OTLP-shaped socket open.

Kristiyan Ivanov

We benchmarked our semantic cache against Upstash. The thresholds did not transfer.

BetterDB vs @upstash/semantic-cache on four public datasets. Quality is at parity. The same embedding model produced different score distributions on each runtime, so the optimal threshold was different on each side, which is the whole argument for self-tuning. Latency is local Valkey vs a cloud REST API, so we report it as a deployment difference, not a library win. And BetterDB ships OpenTelemetry, Prometheus, and dollars-saved tracking in the MIT library, where Upstash ships none of it.

Kristiyan Ivanov
Blog - BetterDB