grafana / explore-logs

Repo for the Loki log exploration app
GNU Affero General Public License v3.0
314 stars 14 forks source link

Logs Panel: move log panel options and add sort order #920

Closed gtk-grafana closed 2 days ago

gtk-grafana commented 3 days ago

Moving Log panel options to the panel header, and adding logs direction:

image

WARNING: Breaking change for existing log wrap setting in local storage!

gtk-grafana commented 2 days ago

@svennergr yeah the panel tries to keep the same lines in the viewport for better or for worse. It's probably more annoying in a QA context then in a real life situation

svennergr commented 2 days ago

@svennergr yeah the panel tries to keep the same lines in the viewport for better or for worse. It's probably more annoying in a QA context then in a real life situation

That's not the case in core Explore though, so somewhere is a disconnect, I think.

gtk-grafana commented 2 days ago

oh, I didn't realize that! @matyax is this a bug in Explore, or Explore logs?

matyax commented 2 days ago

I think this is the first time I see this behavior in the logs panel. Probably within LogsPanel or something about Scenes.