You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for context in logs
when trace_id is passed then just show
SELECT ... FROM $table WHERE $timeFilter AND trace_id=...
when only timestamp field passed
then
make two queries
detect timestamp boundaries for selected timestamp
SELECT min_timestamp, max_timestamp FROM (
SELECTtimestamp,
FIRST_VALUE(timestamp) OVER (ORDER BYtimestamp ROWS BETWEEN 10 PRECEDING AND CURRENT ROW) AS min_timestamp,
LAST_VALUE(timestamp) OVER (ORDER BYtimestamp ROWS BETWEEN CURRENT ROW AND10 FOLLOWING) AS max_timestamp
FROM $table
WHERE $timeFilter ORDER BYtimestamp
) WHEREtimestamp=XXXX
get whole data
SELECT ... FROM $table WHERE $timeFilter AND $timeStampField BETWEEN $min_timestamp AND $max_timestamp
Open http://localhost:3000/d/VtsMXQl7z/test-logs-support
show log context doesn't work (work wrong in Grafana Labs plugin)
use Explore
filters in logs panel doesn't work
The text was updated successfully, but these errors were encountered: