Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.10 for OS, OS dashboards and all plugins, OS is Amazon linux, browser Chrome
Describe the issue:
any query I try to visualize fails with ‘Prometheus Catalog doesn’t support aggregations without span expression’
with the example here i am querying a metric provided by the postgres exporter into prometheus
whats shown from “stats” onward is generated by the UI: source=prometheus.pg_up | stats max(@value) as test by instance
as a side note, clicking table view shows lots of data for this metric
I can get things to work if I stay away from the UI buttons and manually build the query. using query workbench worked best here. I then go back and paste it in. For example:
source = prometheus.pg_up | stats avg(@value) by span(@timestamp,1h)
works just fine.