Generator for retention graphs from ElasticSearch data
Go to file
Jakub Sokołowski 617f8aee27
add README
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-08 15:34:54 +02:00
examples add README 2020-07-08 15:34:54 +02:00
.gitignore ignore *.png files 2020-07-08 15:24:13 +02:00
README.md add README 2020-07-08 15:34:54 +02:00
graph.py parametrize figsize 2020-07-08 15:21:32 +02:00
main.py add --output-dir argument for images 2020-07-08 15:27:28 +02:00
query.py formatting 2020-07-08 14:57:48 +02:00
requirements.txt first working version generating graphs 2020-07-08 14:15:47 +02:00

README.md

Description

This Python script generates graphs visualizing peer retention in Status app.

Details

The script queries an ElasticSearch endpoint for logstash-* indices and aggregates counts of instances of log messages with set peer_id field.

This data is then analyzed using Pandas and graphed using Seaborn in the form of

This was built from a combination of a CSV generating script and a cohort analysis done by @jakubgs and @bgits.

Example