grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
64.67k stars 12.1k forks source link

Logs Panel: Table UI - Wrap text #78840

Open gtk-grafana opened 11 months ago

gtk-grafana commented 11 months ago

For table cells with longer content (like log lines), seeing the first few characters isn't always very helpful. Ideally we could have a setting like in the logs panel which will change the height of table rows so the content can fit the width of the table cell without truncation.

image image

Note: https://github.com/grafana/grafana/issues/25623, this has been a longstanding request for the table component, however I still think there is value in creating a new issue in the context of the logs table UI in explore, as there might be solutions we can investigate that don't involve changing the base component.

joehacksalot commented 11 months ago

Thanks for opening this. I came across your issue after finding the 2020 issue that looks to be abandoned while trying to figure out how to wrap the text in my table. Hope to have this capability soon.