blob: 3ab9ed5d7700507b48a8261d474771265b31cc2e [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 Matuszkowiakf0505592019-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 Svetlovb9ff2e42019-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])'"
Michal Kobusd2bfec02019-05-28 12:56:34 +020019 compute_instance_create_start: "'VM creation start','sum(compute_instance_create_start_event_doc_count)'"
20 compute_instance_create_end: "'VM creation end','sum(compute_instance_create_end_event_doc_count)'"
21 compute_instance_create_error: "'VM creation error','sum(compute_instance_create_error_event_doc_count)'"
Ildar Svetlovf6e389e2019-04-27 22:50:07 +040022 nova_vm_all: "'Total VM number','avg_over_time(total:openstack_nova_instance_all[1d])'"
23 nova_vm_failed: "'Failed VM number','avg_over_time(total:openstack_nova_instance_failed[1d])'"
24 kpi_downtime: "'KPI Downtime','1 - avg_over_time(total:openstack_nova_instance_failed[1d]) / avg_over_time(total:openstack_nova_instance_all[1d])'"