Add OSP resource metrics and OVN Metrics to

Grafana-Prometheus dashboards

Change-Id: Ic4097ba9acdbfd7228250f3a7f8c4e8671f77a53
This commit is contained in:
Asma Syed Hameed
2021-12-06 13:01:07 +05:30
parent 5ce7bac725
commit 7f1afbb8b8
3 changed files with 174 additions and 0 deletions

View File

@@ -107,7 +107,10 @@ dashboard:
{% endif %}
{% if item.template_node_type in controller_groups %}
{% include 'partials/osp_resources.yaml' %}
{% include 'partials/pacemaker_monitoring.yaml' %}
{% endif %}
{% include 'partials/ovn_metrics.yaml' %}
{% include 'partials/tail.yaml' %}

View File

@@ -0,0 +1,139 @@
- title: OSP Resources
collapse: true
height: 200px
showTitle: true
panels:
- title: $Cloud - $Node - OSP DB resources
type: graph
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
targets:
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='nova', type='instances'}
legendFormat: instances
refId: A
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='nova', type='instance_faults'}
legendFormat: instance_faults
refId: B
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='nova', type='instances_del'}
legendFormat: instances_del
refId: C
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='nova', type='virtual_interfaces'}
legendFormat: virtual_interfaces
refId: D
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='network'}
legendFormat: network
refId: E
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='subnet'}
legendFormat: subnet
refId: F
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='port_dhcp'}
legendFormat: port_dhcp
refId: G
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='port_compute'}
legendFormat: port_compute
refId: H
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='port_others'}
legendFormat: port_others
refId: I
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='floatingips'}
legendFormat: floatingips
refId: J
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='router'}
legendFormat: router
refId: K
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='router_iface'}
legendFormat: router_iface
refId: L
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='router_gw'}
legendFormat: router_gw
refId: M
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='sg'}
legendFormat: sg
refId: N
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='sgr'}
legendFormat: sgr
refId: O
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='trunk'}
legendFormat: trunk
refId: P
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='ovs_neutron', type='subports'}
legendFormat: subports
refId: Q
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='octavia', type='load_balancer'}
legendFormat: load_balancer
refId: R
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='octavia', type='amphora'}
legendFormat: amphora
refId: S
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='octavia', type='pool'}
legendFormat: pool
refId: T
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='octavia', type='member'}
legendFormat: member
refId: U
- title: $Cloud - $Node - OSP Additional DB resources
type: graph
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
targets:
- expr: collectd_dbi_gauge{exported_instance=~"[[Cloud]]_[[Node]]", dbi='nova', type='instance_faults'}
legendFormat: instance_faults
refId: A
- title: $Cloud - $Node - OSP REST API
type: graph
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
targets:
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="nova_resources", type='get'}
legendFormat: nova_get
refId: A
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="nova_resources", type='post'}
legendFormat: nova_post
refId: B
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="nova_resources", type='put'}
legendFormat: nova_put
refId: C
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="nova_resources", type='delete'}
legendFormat: nova_delete
refId: D
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="neutron_resources", type='get'}
legendFormat: neutron_get
refId: E
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="neutron_resources", type='post'}
legendFormat: neutron_post
refId: F
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="neutron_resources", type='put'}
legendFormat: neutron_put
refId: G
- expr: collectd_tail_counter_total{exported_instance=~"[[Cloud]]_[[Node]]", tail="neutron_resources", type='delete'}
legendFormat: neutron_delete
refId: H

View File

@@ -0,0 +1,32 @@
- title: OVN Metrics
collapse: true
height: 200px
showTitle: true
panels:
- title: $Cloud - $Node - OVN Metrics
type: graph
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
targets:
- expr: collectd_tail_count{exported_instance=~"[[Cloud]]_[[Node]]", tail="ovncontroller", type="poll"}
legendFormat: ovncontroller_poll
refId: A
- expr: collectd_tail_count{exported_instance=~"[[Cloud]]_[[Node]]", tail="ovnnbdb", type="poll"}
legendFormat: ovnnbdb_poll
refId: B
- expr: collectd_tail_count{exported_instance=~"[[Cloud]]_[[Node]]", tail="ovnsbdb", type="poll"}
legendFormat: ovnsbdb_poll
refId: C
- expr: collectd_tail_count{exported_instance=~"[[Cloud]]_[[Node]]", tail="ovnnorthd", type="poll"}
legendFormat: ovnnorthd_poll
refId: D