Fix counting projects panel in cloud dashboard

Projects in different domains can have the same name,
so for accurate counting, we must use the project id here.

Change-Id: Ie88450b29c30343eb3f3728a2225417285ee2a00
This commit is contained in:
Samuel Allan 2024-05-02 14:42:04 +09:30
parent b6ccd78ac4
commit 17b3653b87
No known key found for this signature in database
GPG Key ID: 622F8E99C893BD61

View File

@ -201,7 +201,7 @@
"datasource": {
"uid": "${prometheusds}"
},
"expr": "count(group by(tenant) (openstack_nova_limits_instances_max))",
"expr": "count(group by(tenant_id) (openstack_nova_limits_instances_max))",
"instant": false,
"interval": "",
"legendFormat": "",