Grafana show context support
This is a feature suggestion. Grafana Loki allows you to show the context, so the log lines before/after a specific log line you click on. It would be very useful if VictoriaLogs could do this aswell.
Example:
Can be implemented via https://docs.victoriametrics.com/victorialogs/logsql/#stream_context-pipe
I'm +1 on this feature. I have very little knowledge about plugin development for grafana. How hard it will be to parse existing user query and inject stream context pipe in it like @hagen1778 suggested?
The default, show context only support loki, es etc.
if implement it , we need to implement the interface getLogRowContext(row: LogRowModel, options?: LogRowContextOptions, query?: SQLQuery)
@dmitryk-dk @Loori-R I think this enhancement requires changes on both: backend and frontend.
@dmitryk-dk @Loori-R I think this enhancement requires changes on both: backend and frontend.
No, it is only frontend. I can commit a PR for this, I am developing it. @hagen1778
Hi @clrxbl ! The feature was added in the v0.16.0 release.