项目作者: getsentry

项目描述 :
Coredump uploader
高级语言: Python
项目地址: git://github.com/getsentry/coredump-uploader.git
创建时间: 2019-12-06T10:41:35Z
项目社区:https://github.com/getsentry/coredump-uploader

开源协议:MIT License

下载


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

  1. $ export SENTRY_DSN=https://something@your-sentry-dsn/42
  2. $ upload_coredump /path/to/core upload /path/to/executable

OR

  1. $ upload_coredump --sentry-dsn https://something@your-sentry-dsn/42 /path/to/executable upload /path/to/core

Watch for coredumps

  1. $ 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:

  1. poetry install

To run tests, use:

  1. poetry run pytest tests/

To run the application:

  1. poetry run upload_coredump ...