Giter Club home page Giter Club logo

c563440ce895927d548627588406128249145be05c11c9bbb14e7c38271ca7f6's Introduction

Jansky: A Breakpad crash report processor

Built to accept crashes collected by Antenna, applies JSON/dump pairs to the stackwalk_server application, parses the output, and records the results. Jansky, coupled with stackwalk_server, is computationally intensive. Multiple instances of Jansky can be run simultaneously.

Free software:Mozilla Public License version 2.0
Documentation:https://processor.readthedocs.io/
Status:Pre-alpha

Quickstart

This is a quickstart that uses Docker so you can see how the pieces work. Docker is also used for local development of Jansky.

For more comprehensive documentation or instructions on how to set this up in production, see docs.

  1. Clone the repository:

    $ git clone https://github.com/mozilla/jansky/
  2. Install docker 1.10.0+ and install docker-compose 1.6.0+ on your machine

  3. Download and build Processor docker containers:

    $ make build

    Anytime you want to update the containers, you can run make build.

  4. Run with a prod-like fully-functional configuration.

    1. Running:

      $ make run
    2. Verify things are running:

      In another terminal, you can verify the proper containers are running with docker ps.

    3. Look at runtime metrics with Grafana:

      The statsd container has Grafana. You can view the statsd data via Grafana in your web browser http://localhost:9000.

      To log into Grafana, use username admin and password admin.

      You'll need to set up a Graphite datasource pointed to http://localhost:8000.

    4. Shutting down Jansky:

      When you're done with the Jansky process, hit CTRL-C to gracefully kill the docker container.

    If you want to run with a different Jansky configuration, put the configuration in an env file and then set JANSKY_ENV. For example:

    $ JANSKY_ENV=my.env make run

    See prod.env and the docs for configuration options.

  5. Run tests:

    $ make test

    If you need to run specific tests or pass in different arguments, you can run bash in the base container and then run py.test with whatever args you want. For example:

    $ make shell
    app@...$ py.test
    
    <pytest output>
    
    app@...$ py.test tests/unittest/test_crashstorage.py

    We're using py.test for a test harness and test discovery.

For more details on running Jansky or hacking on Jansky, see the docs.

c563440ce895927d548627588406128249145be05c11c9bbb14e7c38271ca7f6's People

Contributors

lonnen avatar mozilla-github-standards avatar willkg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.