Skip to content

silv-io/diapretty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diapretty - LocalStack diagnosis pretty printer

Users of LocalStack can create diagnostics reports via the diagnostics endpoint:

curl -s localhost:4566/_localstack/diagnose | gzip -cf > diagnose.json.gz

This report contains a lot of data, which can be a bit overwhelming.

diapretty helps with that, by taking all the data from the report and putting it into a nice to read HTML report which is automatically opened in your browser.

Installation

Just do pip install -e . in this directory

Usage

Read existing diagnostics report

After installation, you can use diapretty like this:

python -m diapretty.main /path/to/diagnose.json.gz

Start the server

To access the diagnosis report of your currently running localstack instance, install the server extra:

pip install -e '.[server]'

and run

python -m diapretty.server

Then navigate to http://localhost:4567 in your browser.

Develop

Run make install to create a virtual environment and install developer dependencies.

About

Pretty print LocalStack diagnostics files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published