https://github.com/getsentry/coredump-uploader
Coredump uploader
https://github.com/getsentry/coredump-uploader
coredump sentry-client tag-non-production
Last synced: over 1 year ago
JSON representation
Coredump uploader
- Host: GitHub
- URL: https://github.com/getsentry/coredump-uploader
- Owner: getsentry
- License: mit
- Created: 2019-12-06T10:41:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-21T00:18:36.000Z (almost 4 years ago)
- Last Synced: 2025-03-22T06:47:06.592Z (over 1 year ago)
- Topics: coredump, sentry-client, tag-non-production
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 14
- Watchers: 46
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Coredump Uploader
This utility can upload core dumps to Sentry. It can either upload a single core dump or watch a folder
for incoming core dumps to automatically upload them as they happen.
## Requirements
- python
- poetry
- gdb
- elfutils
## Usage
### Upload coredump
````
$ export SENTRY_DSN=https://something@your-sentry-dsn/42
$ upload_coredump /path/to/core upload /path/to/executable
````
OR
````
$ upload_coredump --sentry-dsn https://something@your-sentry-dsn/42 /path/to/executable upload /path/to/core
````
### Watch for coredumps
````
$ upload_coredump --sentry-dsn https://something@your-sentry-dsn/42 /path/to/executable watch /path/to/dir
````
## Development
We use Poetry for development. To get started, first install dependencies:
```
poetry install
```
To run tests, use:
```
poetry run pytest tests/
```
To run the application:
```
poetry run upload_coredump ...
```