A TUI for finding & reviewing 500 errors in AWS cloudwatch.
Requires stack
:
stack run
You can install the CLI exe by running stack install
. This lets you call the
executable directly instead of through stack:
stack install
export PATH="${HOME}/.local/bin/:${PATH}"
cloudwatcher
AWS authentication details are read from ~/.aws/{config,credentials}
.
Navigate the TUI with vim or arrow keys(+ Home
, PageUp
, etc), Enter
to
move to the next pane, Esc
to move to the previous pane, & q
to quit.
By default, only the last 15 minutes of 500 errors are shown. You can change this by passing the number of minutes to search when you launch cloudwatcher:
# Show any 500s in the last hour
cloudwatcher 60
You can build the project with stack:
stack build
For development, you can enable fast builds with file-watching, documentation-building, & test-running:
stack test --haddock --fast --file-watch --pedantic
To build & open the documentation, run:
stack haddock --open cloudwatcher
BSD-3