Skip to content

Prettifier-ing a query removes the RefID and breaks panel previews in edit mode #404

@kbweave

Description

@kbweave

When ever a query is prettified its grafana RefID is removed and query results are no longer displayed in the preview. If another query is prettified then an error is shown in the UI.

I reproduced this on my instance running victoriametrics-datasource version 0.9.15 and on the play-grafana.victoriametrics.com instance using this panel

screencast_2025-10-17-134829.mp4

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions