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()
Metadata
Release files for librato_bg 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| librato_bg-1.0.6.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| librato_bg-1.0.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / librato_bg-1.0.6.tar.gz
| Download URL | librato_bg-1.0.6.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcac912af5a59216bce508de780c501b25c61ac20d8105aaae02937e6a1e929f
|
|
BLAKE2b-256 checksum How to use checksums |
99679fb300241281aa48780f189d55d153f94a44be65c303a54a4db3d899e78d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / librato_bg-1.0.6-py2.py3-none-any.whl
| Download URL | librato_bg-1.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
191730de44d1f0dda312684c1e8a855b88cd8aad2c005aa72d590cbe8f90fe3f
|
|
BLAKE2b-256 checksum How to use checksums |
8c45eeff70e85d3c7cc3f901e8290339bf5a0b28928ac8afd43056021b8699cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |