metrico / qryn

⭐️ All-in-One Polyglot Observability with OLAP Storage for Logs, Metrics, Traces & Profiles. Drop-in Grafana Cloud replacement compatible with Loki, Prometheus, Tempo, Pyroscope, Opentelemetry, Datadog and beyond :rocket:
https://qryn.dev
GNU Affero General Public License v3.0
1.24k stars 68 forks source link

Grafana fails to load logs samples #601

Closed mennotech closed 19 minutes ago

mennotech commented 3 hours ago

I'm testing qryn using metrico/qryn-minimal

I have the docker image (via WSL) running and supplied sample data using:

curl -i -XPOST -H "Content-Type: application/json" http://localhost:3100/loki/api/v1/push --data '{"streams":[{"stream":{"type":"test"},"values":[['$(date +"%s%N")', "hello qryn"]]}]}'

I am running Grafana (on Windows) locally and set up a loki data source pointing to http://localhost:3100

The following query shows a graph of number of test messages per 5 minutes

rate({type="test"} [5m])

However, when I try and expand the Logs sample, it fails with the following error:

Failed to load logs sample for this query ReadString: expects " or n, but found 1, error found in #10 byte of ...|alues":[[17317098492|..., bigger context ...| "result": [{"stream":{"type":"test"},"values":[[1731709849262086000,"hello qryn"],[1731709825975030|...

Sorry, I'm still learning Grafana, and I'm not sure why this isn't working properly, is this a Grafana issue or qryn issue?

Screenshot 2024-11-15 170532

lmangani commented 3 hours ago

Hello @mennotech qryn-minimal is just an experiment and no longer expected to pass more than basic testing at this time since its based on a very unstable and unreliable backend. I would suggest experimenting with the standard qryn bundles with a full clickhouse backend.

mennotech commented 19 minutes ago

I was able to get this working with metrico/qryn-oss-demo. Thanks for the pointer.