https://github.com/xperimental/panik
A small service to test parsing of error messages in log infrastructure
https://github.com/xperimental/panik
cloud-infrastructure docker logging
Last synced: 3 months ago
JSON representation
A small service to test parsing of error messages in log infrastructure
- Host: GitHub
- URL: https://github.com/xperimental/panik
- Owner: xperimental
- License: mit
- Created: 2017-09-08T11:50:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-28T17:11:17.000Z (over 4 years ago)
- Last Synced: 2025-04-04T18:11:27.076Z (6 months ago)
- Topics: cloud-infrastructure, docker, logging
- Language: Go
- Size: 10.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:`](https://store.docker.com/community/images/xperimental/panik).
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/?out= - output the panic called on (stderr / stdout); stderr is default
POST /print?out= - print something on (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`.