aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/benchmarks/plan/doctor.yaml
blob: af995dac94ec7c852062b22077e0d01914c12c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-we
##############################################################################
# Copyright (c) 2017 ZTE Corporation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
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