summaryrefslogtreecommitdiffstats
path: root/tests/data/benchmarks/plan/doctor.yaml
blob: 6c95077b355dda0d8efedbf67fdbd032f5e98253 (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
34
35
36
37
name: doctor performance profiling
description: create performance profile for OPNFV doctor notification time
info:
  facility: local
  engineer: local
config:
  driver: sample
  collector:
    - name: logfile
      logs:
        - filename: doctor_consumer.log
          # 2016-12-28 03:16:05,630 consumer.py 26 INFO   doctor consumer notified at 1482894965.63
          grep:
            - regex: 'doctor consumer notified at \d+(\.\d+)?$'
              capture: notified consumer
        - filename: doctor_inspector.log
          # 2016-12-28 03:16:05,299 inspector.py 76 INFO   event posted at 1482894965.3
          # 2016-12-28 03:16:05,299 inspector.py 56 INFO   doctor mark vm(<Server: doctor_vm1>) error at 1482894965.3
          # 2016-12-28 03:16:05,506 inspector.py 66 INFO   doctor mark host(overcloud-novacompute-1.ool-virtual1) down at 1482894965.51
          grep:
            - regex: 'event posted at \d+(\.\d+)?$'
              capture: posted event
            - regex: 'doctor mark vm\(.*\) error at \d+(\.\d+)?$'
              capture: marked VM error
            - regex: 'doctor mark host\(.*\) down at \d+(\.\d+)?$'
              capture: marked host down
        - filename: disable_network.log
          # doctor set host down at 1482894965.164096803
          grep:
            - regex: 'doctor set host down at \d+(\.\d+)?$'
              capture: set host down
  reporter:
    name: console
    # transform collected data into timeline
    transformer: timeline
QPIs:
  - fake-qpi.yaml