summaryrefslogtreecommitdiffstats
path: root/qtip
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-24 16:47:31 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-25 01:06:15 +0000
commit2b2188075f5e42163a6bc77093f3e5f36e91c580 (patch)
tree786c7103fe95d0ba3aec709170d87057bdc41780 /qtip
parentf01644b80a940cf17300114db7593c66c6120b54 (diff)
bugfix: regex for dpi
see: https://build.opnfv.org/ci/view/qtip/job/ qtip-os-nosdn-kvm-ha-zte-pod3-daily-danube/3/console Previous regex cann't match with log like: "nDPI throughput: 943.34 K pps / 8.86 Gb/sec". For pps, there are two type of unit: K and M. Same with bps. Change-Id: I247c8b6049cc8b264fe894538cd4f89ba544c0b8 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn> (cherry picked from commit 6ee214ad9487dfaa121c72d8487464f63992c5ff)
Diffstat (limited to 'qtip')
-rw-r--r--qtip/collector/parser/regex.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtip/collector/parser/regex.yaml b/qtip/collector/parser/regex.yaml
index 397f8973..94271136 100644
--- a/qtip/collector/parser/regex.yaml
+++ b/qtip/collector/parser/regex.yaml
@@ -25,8 +25,8 @@ dpi:
- filename: dpi_dump.txt
grep:
- |-
- ^\s+nDPI throughput:.+?(?P<pps>\d+.\d+)\sM\spps.+
- ?(?P<bps>\d+.\d+)\sGb\/sec
+ ^\s+nDPI throughput:.+?(?P<pps>\d+.\d+)\s.+\spps.+
+ ?(?P<bps>\d+.\d+)\s.+\/sec
ramspeed:
- filename: Intmem
grep: