Picsellia wrapper for Elasticsearch client
Project description
Picsellia Elasticsearch Client
Picsellia Elasticsearch Client is a Python library that wraps Elasticsearch Python Client in order to push Picsellia metrics.
Installation
Use the package manager pip to install foobar.
pip install picsellia-elasticsearch-client
Usage
from picsellia_elasticsearch_client.client import PicselliaELKClient
client = PicselliaELKClient(host="localhost", port=443)
metric = PicselliaMetric(service="service", data={ "hello" : "world" })
client.push(metric)
error = PicselliaError(service="service", exception=KeyError('key'))
client.push(error)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for picsellia-elasticsearch-client-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 068a0143f48fa629f46127342bb5cb6aa9fa232b894364251417cce7f390d9c1 |
|
MD5 | 0ed729ed3454bab1896e3b1cb6c221a3 |
|
BLAKE2b-256 | 85689c3b5fbc63df99803fec4bf1bdc35364e74a680535db8a0f7f18005d83be |
Close
Hashes for picsellia_elasticsearch_client-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc64c16af11748b45f9c6317802ba6083440fff52c9e5510ec1af8571dbf9c09 |
|
MD5 | 59624441fb78e5ad9139238a6771422a |
|
BLAKE2b-256 | bd1eae5e79893ca5111d0c8e8891c9a1edd223d63c41fde1464135d93e9618a3 |