Skip to content

A small service to test parsing of error messages in log infrastructure

License

Notifications You must be signed in to change notification settings

xperimental/panik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

panik

A small Golang-based service for testing the logging infrastructure of your orchestrator.

Usage

This service is available as a Docker image, which is what you probably want to use xperimental/panik:<version>.

Once running the service exposes a few endpoints (this list can also be obtained on the root path of the service):

Available endpoints:
    * /                          - this page
    * /_healthz                  - a healthcheck handler
  GET /panics                    - list all possible panics
  GET /panic/<name>?out=<output> - output the panic called <name> on <output> (stderr / stdout); stderr is default
 POST /print?out=<output>        - print something on <output> (stderr / stdout); stdout is default

So for example a GET request to /panic/java will result in a generic Java stacktrace being printed to STDERR. If you instead want to have the output on STDOUT you need to use the "output" query parameter: /panic/java?output=stdout.

About

A small service to test parsing of error messages in log infrastructure

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published