summaryrefslogtreecommitdiffstats
path: root/tests/data/benchmarks/plan/doctor.yaml
blob: f8dcf08d0332c4d98793be8afc98f2a1bcde6fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: doctor performance profiling
description: create performance profile for OPNFV doctor notification time
info:
  facility: local
  engineer: local
config:
  collectors:
    - type: logfile
      paths:
        - '../../external/doctor-verify-apex-sample-master'
      logs:
        - filename: doctor_consumer.log
          parsers:
            - type: grep
              regex: 'doctor consumer notified at (?P<notified>\d+(?:\.\d+)?)$'
        - filename: doctor_inspector.log
          parsers:
            - type: grep
              regex: 'event posted at (?P<event_posted>\d+(?:\.\d+)?)$'
            - type: grep
              regex: 'doctor mark vm\(.*\) error at (?P<vm_error>\d+(?:\.\d+)?)$'
            - type: grep
              regex: 'doctor mark host\(.*\) down at (?P<host_down>\d+(?:\.\d+)?)$'
        - filename: disable_network.log
          parsers:
            - type: grep
              regex: 'doctor set host down at (?P<network_down>\d+(?:\.\d+)?)$'
  reporters:
    - type: console
      # transform collected data into timeline
      transformer: timeline
QPIs:
  - fake_qpi.yaml