Support pulling Units, and other metadata from PostgreSQL datasource #27345
Labels
datasource/Postgres
needs more info
Issue needs more information, like query results, dashboard or panel json, grafana version etc
type/feature-request
What would you like to be added:
Allow PostgreSQL / Timescale plugin to pull panel metadata from the data-source. Specifically units and metric display name at a minimum, though other parameters may be useful to some panels.
Why is this needed:
A major feature of Timeseries datastores based on relational database (like Timescale) is they contain both the series, and all metadata relevant to that series. In complex IIOT use cases there can be hundreds of different units and quantity kinds in play.
For efficient dashboard creation, it is better to be able to pull this metadata (or 'overrides') from the data-source, than it is to require users to have to manually set it within the panels.
A manual approach is:
Based on chat in Slack, believe this feature requires upgrading the PostgreSQL plugin to support Data frames, which can carry this metadata, and relevant UI changes to allow for its selection.
Refer: #22918
The text was updated successfully, but these errors were encountered: