summaryrefslogtreecommitdiffstats
path: root/resources/metric/nDPI.yaml
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-19 03:27:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-19 03:27:57 +0000
commit2d55ca2996755ea25012001e499c4ac0dc54b765 (patch)
treef15d8119d4f7ac818be5d7e6f5ccf11300e60102 /resources/metric/nDPI.yaml
parent86f10e318baa875d2b729f3bf7b5bb588a43f4ff (diff)
parent65d6bc2e403b17cd951b001d4c050192c541c109 (diff)
Merge "Collect dpi metrics and report"
Diffstat (limited to 'resources/metric/nDPI.yaml')
-rw-r--r--resources/metric/nDPI.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/metric/nDPI.yaml b/resources/metric/nDPI.yaml
index 79225443..0391302a 100644
--- a/resources/metric/nDPI.yaml
+++ b/resources/metric/nDPI.yaml
@@ -73,6 +73,8 @@
collect:
string: "{{ nDPI_out.stdout }}"
patterns:
- - '^\s+nDPI throughput:.+?(?P<pps>\d+.\d+)\s.+\spps.+?(?P<bps>\d+.\d+)\s.+\/sec'
+ # nDPI throughput: 1.46 M pps / 13.69 Gb/sec
+ # TODO(yujunz) convert "M pps" and "K pps" to number
+ - 'nDPI throughput:\s+?(?P<dpi_pps>\d+.\d+.*) \/ (?P<dpi_bps>\d+.\d+.*)$'
dump: 'nDPI.log'
register: dpi_metrics