summaryrefslogtreecommitdiffstats
path: root/opt/plugin/doctor/collector.yaml
blob: 40167588ac1ca11ae090e57f55b44f6579df8654 (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
# collector configuration for doctor verification job
# collect performance data from log files
collector: logfile
# transform collected data into timeline
transformer: timeline
logfiles:
  - filename: doctor_consumer.log
  # 2016-12-28 03:16:05,630 consumer.py 26 INFO   doctor consumer notified at 1482894965.63
    - match: doctor consumer notified at \d+(\.\d+)?$
      checkpoint: 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
    - match: event posted at \d+(\.\d+)?$
      checkpoint: posted event
    - match: doctor mark vm\(.*\) error at \d+(\.\d+)?$
      checkpoint: marked VM error
    - match: doctor mark host\(.*\) down at \d+(\.\d+)?$
      checkpoint: marked host down
  - filename: disable_network.log
  # doctor set host down at 1482894965.164096803
    - match: doctor set host down at \d+(\.\d+)?$
    - checkpoint: set host down