Merge "Adding credentials for service user"
diff --git a/nova/meta/prometheus.yml b/nova/meta/prometheus.yml
index f3e12ee..c94e0e8 100644
--- a/nova/meta/prometheus.yml
+++ b/nova/meta/prometheus.yml
@@ -27,6 +27,13 @@
 {%- endif %}
 
 server:
+  recording:
+    total:openstack_nova_instance_status:
+      query: >-
+        count(openstack_nova_instance_status) without (id,name)
+    total:openstack_nova_instance_status:error:
+      query: >-
+        count(openstack_nova_instance_status == 2) without (id,name)
   alert:
 {%- if is_controller %}
 {% raw %}