blob: 679a6fc774030330dc4421e03c7151240d71521b [file] [log] [blame]
Mateusz Matuszkowiak489c84b2018-06-28 14:29:20 +02001parameters:
2 prometheus:
3 gainsight:
4 queries:
Mateusz Matuszkowiakf6743a52018-10-15 13:27:29 +02005 vcpu_used: "'vCPU Used','avg(sum(avg_over_time(openstack_nova_used_vcpus[24h])) by (instance))'"
6 vcpu_free: "'vCPU Free','avg(sum(avg_over_time(openstack_nova_free_vcpus[24h])) by (instance))'"
7 vstorage_used: "'vStorage Used','avg(sum(avg_over_time(openstack_nova_used_disk[24h])) by (instance))'"
8 vstorage_free: "'vStorage Free','avg(sum(avg_over_time(openstack_nova_free_disk[24h])) by (instance))'"
9 vram_used: "'vRAM Used','avg(sum(avg_over_time(openstack_nova_used_ram[24h])) by (instance))'"
10 vram_free: "'vRAM Free','avg(sum(avg_over_time(openstack_nova_free_ram[24h])) by (instance))'"
Mateusz Matuszkowiakb60d9902019-02-28 15:06:06 +010011 instances: "'Instances','avg(sum(avg_over_time(openstack_nova_instances{state=\"active\"}[24h])) by (instance))'"
Mateusz Matuszkowiakf6743a52018-10-15 13:27:29 +020012 compute_nodes: "'Compute Nodes','avg(sum(openstack_nova_services{binary=~\"nova.compute\"}) by (instance))'"
13 tenants: "'Tenants','avg(sum(avg_over_time(openstack_keystone_tenants_total[24h])) by (instance))'"
Ildar Svetlov89f14412019-07-15 17:12:33 +040014 cinder_api: "'Cinder API','avg_over_time(name:openstack_api_check_status:avg5m:for5m:ceil:avg5m:floor{name=\"cinderv2\"}[24h])'"
15 nova_api: "'Nova API','avg_over_time(name:openstack_api_check_status:avg5m:for5m:ceil:avg5m:floor{name=\"nova\"}[24h])'"
16 keystone_api: "'Keystone API','avg_over_time(name:openstack_api_check_status:avg5m:for5m:ceil:avg5m:floor{name=\"keystone\"}[24h])'"
17 glance_api: "'Glance API','avg_over_time(name:openstack_api_check_status:avg5m:for5m:ceil:avg5m:floor{name=\"glance\"}[24h])'"
18 neutron_api: "'Neutron API','avg_over_time(name:openstack_api_check_status:avg5m:for5m:ceil:avg5m:floor{name=\"neutron\"}[24h])'"
Ildar Svetlovc1a1d2e2019-04-27 22:50:07 +040019 nova_vm_all: "'Total VM number','avg_over_time(total:openstack_nova_instance_all[1d])'"
20 nova_vm_failed: "'Failed VM number','avg_over_time(total:openstack_nova_instance_failed[1d])'"
21 kpi_downtime: "'KPI Downtime','1 - avg_over_time(total:openstack_nova_instance_failed[1d]) / avg_over_time(total:openstack_nova_instance_all[1d])'"
Michal Kobus7e505332019-05-28 13:16:15 +020022 compute_instance_create_start: "'VM creation start','sum(compute_instance_create_start_event_doc_count)'"
23 compute_instance_create_end: "'VM creation end','sum(compute_instance_create_end_event_doc_count)'"
24 compute_instance_create_error: "'VM creation error','sum(compute_instance_create_error_event_doc_count)'"
Michal Kobus215c9292019-05-21 18:17:45 +020025