项目作者: mishankov

项目描述 :
Pega Alerts Python Analyzer
高级语言: Python
项目地址: git://github.com/mishankov/pega-alerts-python-analyzer.git
创建时间: 2020-07-22T15:16:30Z
项目社区:https://github.com/mishankov/pega-alerts-python-analyzer

开源协议:GNU General Public License v3.0

下载


This repo is archived. If you are looking for something more modern please take a look at https://github.com/mishankov/pega-alerts-analyzer

PAPA - Pega Alerts Python Analyzer

Pega Alert logs analyzer written in Python

How to

  1. Create folder alerts on the same level as papa.py
  2. Put Pega Alert files with .log extension in this folder
  3. Run papa.py
  4. See files
    1. sql-report.html - SQL queries statistics based on PEGA0005 alerts
    2. service-report.html - services statistics based on PEGA0011 alerts
    3. to be…

You can also use index.html to access reports

You can pass concrete file name as command line arguments

  1. python papa.py folder/PegaRULES-ALERT_1.log PegaRULES-ALERT_2.log

Then report will be generated with passe files

Reports contents

SQL report

  • Top 10 executions
  • Top 10 total time
  • Top 10 average time
  • Top 10 median time
  • Top 10 max time
  • Top 10 min time
  • Full list
  • Full detailed list

Service report

  • Top 10 executions
  • Top 10 total time
  • Top 10 average time
  • Top 10 median time
  • Top 10 max time
  • Top 10 min time
  • Full list
  • Full detailed list