Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 538 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 538 Bytes

Rollbar scraper

This is a simple script to scrape Rollbars from your project at Rollbar.com and put them into a Postgres DB for querying.

Why

RQL is kind of slow :(

Installation

$ virutalenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Usage

# Set the Rollbar project access token
$ export ROLLBAR_TOKEN=<yoyr project token here>

# Scrape
$ python scrape_rollbar.py <rollbar counter> <number of rollbars to scrape>

# Query
$ psql rollbars -c 'SELECT * FROM rollbars LIMIT 1;'