antoine-vigneau-sonarsource / sonar-logs Goto Github PK
View Code? Open in Web Editor NEWPython tools to structure and extract information from SonarQube server logs
Python tools to structure and extract information from SonarQube server logs
Given a task uuid, extract all logs related to this task.
Careful: a simple grep is not enough as Java stack traces are not prefixed with task id in logs.
tasks
and steps
export can be quite large (mostly steps
) to the point that it becomes hard to do anything with them in spreadsheet software (everything is slow). It would be good to have filtering capabilities to 1/ focus on what we want (probably after some previous investigations) and 2/ reduce CSV file size so it's ok to work with them
This could be generic but useful filters we can think of are:
project
for both tasks
and steps
export. So we only focus on one project (e.g. it had been identified that one project has some issues)task_id
for steps
export (useless for tasks
) - Though it's similar to #5 thenstep
for steps
export (e.g. it had been identified that one particular step is always taking long, typically Persist live measures)type
for tasks
branch_type
for tasks
Currently, the report command is designed (and simplified) to only extract the longest task. A top-10 would certainly be more useful in case there is a pattern to detect.
This could even be parameterized.
Usecase:
How
This will require parsing more than task information, ie. the log line itself to extract the date/time at the beginning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.