Mateusz Matuszkowiak | 489c84b | 2018-06-28 14:29:20 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | prometheus: |
| 3 | gainsight: |
| 4 | queries: |
Mateusz Matuszkowiak | f6743a5 | 2018-10-15 13:27:29 +0200 | [diff] [blame] | 5 | 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 Matuszkowiak | b60d990 | 2019-02-28 15:06:06 +0100 | [diff] [blame] | 11 | instances: "'Instances','avg(sum(avg_over_time(openstack_nova_instances{state=\"active\"}[24h])) by (instance))'" |
Mateusz Matuszkowiak | f6743a5 | 2018-10-15 13:27:29 +0200 | [diff] [blame] | 12 | 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 Svetlov | 89f1441 | 2019-07-15 17:12:33 +0400 | [diff] [blame] | 14 | 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 Svetlov | c1a1d2e | 2019-04-27 22:50:07 +0400 | [diff] [blame] | 19 | 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 Kobus | 7e50533 | 2019-05-28 13:16:15 +0200 | [diff] [blame] | 22 | 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 Kobus | 215c929 | 2019-05-21 18:17:45 +0200 | [diff] [blame] | 25 | |