Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request. Support Grafana Explore Logs Plugin #611

Open
DenisBY opened this issue Jan 29, 2025 · 0 comments
Open

Feature request. Support Grafana Explore Logs Plugin #611

DenisBY opened this issue Jan 29, 2025 · 0 comments

Comments

@DenisBY
Copy link

DenisBY commented Jan 29, 2025

I was looking for a Loki replacement which uses ClickHouse for storage and found qryn. While inserting logs works fine unfortunately utilizing Explore Logs plugin doesn't work. Native Grafana Explore is very limited.

Please add support for Explore Logs plugin.

Current error:

qryn-1             | {"level":30,"time":1738161641964,"pid":19,"hostname":"da5ba54f3e76","name":"qryn","reqId":"req-16","req":{"method":"GET","url":"/loki/api/v1/index/volume?query=%7Bservice_namespace%3D~%60.%2B%60%7D&start=2025-01-29T14%3A25%3A41.883Z&end=2025-01-29T14%3A40%3A41.883Z&limit=5000","hostname":"qryn.example.org:3100","remoteAddress":"10.1.1.86","remotePort":43828},"msg":"incoming request"}
qryn-1             | {"level":30,"time":1738161641965,"pid":19,"hostname":"da5ba54f3e76","name":"qryn","reqId":"req-16","res":{"statusCode":404},"responseTime":0.87548828125,"msg":"request completed"}

...

qryn-1             | {"level":30,"time":1738161620501,"pid":19,"hostname":"da5ba54f3e76","name":"qryn","reqId":"req-12","req":{"method":"GET","url":"/loki/api/v1/series?match%5B%5D=%7B%7D&start=1738140020440000000&end=1738161620440000000","hostname":"qryn.example.org:3100","remoteAddress":"10.1.1.86","remotePort":43828},"msg":"incoming request"}
qryn-1             | [ '{}' ]
qryn-1             | Couldn't execute script:
qryn-1             | Expected [ or 'SYNTAX' ] @1:0 encountered '{}'.
qryn-1             | {}
qryn-1             | {"level":50,"time":1738161620524,"pid":19,"hostname":"da5ba54f3e76","name":"qryn","reqId":"req-12","err":"Cannot read properties of null (reading 'rootToken')\nTypeError: Cannot read properties of null (reading 'rootToken')\n    at getQuery (/app/parser/transpiler.js:417:70)\n    at module.exports.transpileSeries (/app/parser/transpiler.js:437:17)\n    at getSeries (/app/lib/db/clickhouse.js:1114:28)\n    at Object.handler (/app/lib/handlers/series.js:20:26)\n    at routeOptions.handler (/app/node_modules/@fastify/websocket/index.js:150:24)\n    at preHandlerCallback (/app/node_modules/fastify/lib/handleRequest.js:138:37)\n    at validationCompleted (/app/node_modules/fastify/lib/handleRequest.js:122:5)\n    at preValidationCallback (/app/node_modules/fastify/lib/handleRequest.js:99:5)\n    at handler (/app/node_modules/fastify/lib/handleRequest.js:76:7)\n    at handleRequest (/app/node_modules/fastify/lib/handleRequest.js:24:5)","msg":"Cannot read properties of null (reading 'rootToken')"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant