Enhancing NBI to define APIs for metric collection
[osm/Features.git] / Release6 / getting_metrics_from_NBI
1 # NBI - Fetching Metrics data from Prometheus #
2
3
4
5 ## Proposer ##
6
7 - Vijay R S (Tata Elxsi)
8
9
10
11 ## Type ##
12
13 **Feature**
14
15
16
17 ## Target MDG/TF ##
18
19 NBI
20
21
22
23 ## Description ##
24
25 Enhancing NBI to define APIs for metric collection.
26 NBI will achieve this by fetching the metrics from Prometheus database by using
27 well-defined REST APIs of Prometheus.
28
29 Following metrics of VNFs will be retrieved from Prometheus
30
31 cpu_utilization
32 average_memory_utilization
33 disk_read_ops
34 disk_write_ops
35 disk_read_bytes
36 disk_write_bytes
37 packets_dropped_<nic number>
38 packets_received
39 packets_sent
40
41
42
43 ## Demo or definition of done ##
44
45 NBI defined APIs for metric collection can be tested using Postman for the correctness
46 of the data.
47 Preferred data format is JSON.