The library that submits metrics to cantal
Project description
=========
Cantal-Py
=========
:Status: Beta
:Documentation: https://cantal-py.readthedocs.io/
:Parent Project: https://github.com/tailhook/cantal
Cantal is an expermimental heartbeating, monitoring and statistics solution.
This is a python library for sending statistics data to cantal.
Example
=======
.. code-block:: python
:emphasize-lines: 3, 6, 10
:linenos:
import cantal
ticks = cantal.Counter(group="main_loop", metric="ticks")
def main():
cantal.start()
while True:
sleep(0.1)
ticks.incr(1)
if __name__ == '__main__':
main
License
=======
Licensed under either of
* Apache License, Version 2.0,
(./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
------------
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.
Cantal-Py
=========
:Status: Beta
:Documentation: https://cantal-py.readthedocs.io/
:Parent Project: https://github.com/tailhook/cantal
Cantal is an expermimental heartbeating, monitoring and statistics solution.
This is a python library for sending statistics data to cantal.
Example
=======
.. code-block:: python
:emphasize-lines: 3, 6, 10
:linenos:
import cantal
ticks = cantal.Counter(group="main_loop", metric="ticks")
def main():
cantal.start()
while True:
sleep(0.1)
ticks.incr(1)
if __name__ == '__main__':
main
License
=======
Licensed under either of
* Apache License, Version 2.0,
(./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
------------
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cantal-0.2.5.tar.gz
(6.6 kB
view details)
File details
Details for the file cantal-0.2.5.tar.gz
.
File metadata
- Download URL: cantal-0.2.5.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f8bbae6524bdc0353ba60bab784326f56dd6a9e4ea95f22661adaf772d5fcc8 |
|
MD5 | d9ca6569a431ed76662d7d332d2f7388 |
|
BLAKE2b-256 | 2ed231fe0fda6c648122be66213dacade60ea97009d0489750878a428d34dab5 |