Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Enables submitting of Librato events in a background thread

Project description

Build Status Coverage Status PyPI Release

Enables submitting of Librato events in a background thread. Heavily inspired by segment.io’s python library which does the same.

Usage

from librato_bg import Client

# initialize with Librato API tokens
client = Client(username, token)

# track as your normally would, params are event, value and source.
# This is non-blocking, submission will take place in other thread
client.gauge('user_clicked', 1, 'prod')

# when exiting, flush to join threads and make sure everything is sent
client.join()

Project details


Release history Release notifications

This version
History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
librato_bg-1.0.6-py2.py3-none-any.whl (5.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Nov 1, 2016
librato_bg-1.0.6.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None Nov 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page