Skip to main content
rollbar-udp-agent
=============
A daemon that listens on a udp port and pushes messages to Rollbar.

Requirements
------------
rollbar-udp-agent requires:

- A unix-like system (tested on Fedora Linux and Mac OS X)
- Python 2.6+
- requests 0.13.1+ (will be installed by pip)
- a Rollbar_ account

Installation
------------

**Installing**

Obtain a post_server_item access token from your project's Rollbar settings page and execute

ROLLBAR_ACCESS_TOKEN=post_server_item_access_token bash -c "$(curl -L https://raw.githubusercontent.com/lrascao/rollbar-udp-agent/master/setup.sh)"

**Installing with pip**

In a virtualenv, install like so::

sudo pip install rollbar-udp-agent

**init.d script**

rollbar-agent comes with an example init.d script, chkconfig compatible and tested on Fedora Linux, update-rc.d on Ubuntu Linux.

On Ubuntu, you'll need to add to rc.d. Run the following::

update-rc.d rollbar-udp-agent defaults

On Fedora, add to chkconfig::

sudo chkconfig --add rollbar-udp-agent
sudo chkconfig rollbar-udp-agent on

On other systems, check your system's documentation for its equivalent of chkconfig.

Now, start the service::

sudo service rollbar-udp-agent start

To check that it's running, tail its log file::

tail -f /var/log/rollbar-udp-agent.log

Configuration
-------------
Configuration options for rollbar-udp-agent itself are in `/etc/rollbar-udp-agent.conf`.

**rollbar-udp-agent.conf**
At the bare minimum, you will want to change the following variables:

- ``api_key`` -- your Rollbar access token, specifically an API token that allows "post_server_item"

The following options are optional and have default values

- ``listen_port`` -- the udp port to listen for messages on (default 7521)
- ``bind_host`` -- interface to listen on (default is all interfaces)
- ``rollbar_url`` -- url to post messages to (default https://api.rollbar.com/api/1/item/)
- ``event_chunk_size`` -- number of events to chunk before sending to rollbar (default 50)
- ``event_chunk_bytes`` -- number of bytes to chunk before sending to rollbar (default 1048576, 1MB)
- ``flush_interval`` -- flush messages to rollbar period (default 30 seconds)
- ``bulk_report`` -- wether to send messages in a single http request or several (default false)

Contributing
------------

Contributions are welcome. The project is hosted on github at http://github.com/lrascao/rollbar-udp-agent

Metadata

Release files for rollbar-udp-agent 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rollbar-udp-agent 0.0.15
File Size Uploaded Provenance Actions
rollbar-udp-agent-0.0.15.tar.gz 12.6 kB Without provenance Details for rollbar-udp-agent-0.0.15.tar.gz

Release files / rollbar-udp-agent-0.0.15.tar.gz

Download URL rollbar-udp-agent-0.0.15.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cb6c23ff2600c744ca64c627fef35c327be54076bf2971b54810cdba36166831
BLAKE2b-256 checksum
How to use checksums
12c4465ca127eb87c9f026c402d5b839ffb6560a6cbdbc5584122054a3c3d24a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rollbar-udp-agent 0.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.15 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page