UNKNOWN
Project description
log-metrics
===========
log-metrics is a tiny metrics logger, based on the l2met format.
Installation
------------
.. code-block:: bash
$ pip install log-metrics
Usage
-----
Everything takes place from the log_metrics module, which can be imported like
so
.. code-block:: pycon
>>> import log_metrics
Counts
******
.. code-block:: pycon
>>> log_metrics.count('myfoo')
count#myfoo=1
.. code-block:: pycon
>>> log_metrics.count('myfoo', 3)
count#myfoo=3
===========
log-metrics is a tiny metrics logger, based on the l2met format.
Installation
------------
.. code-block:: bash
$ pip install log-metrics
Usage
-----
Everything takes place from the log_metrics module, which can be imported like
so
.. code-block:: pycon
>>> import log_metrics
Counts
******
.. code-block:: pycon
>>> log_metrics.count('myfoo')
count#myfoo=1
.. code-block:: pycon
>>> log_metrics.count('myfoo', 3)
count#myfoo=3
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
log-metrics-0.0.1.tar.gz
(2.3 kB
view details)
File details
Details for the file log-metrics-0.0.1.tar.gz
.
File metadata
- Download URL: log-metrics-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787c69d38f2bdac06915a6d91f0e9449a640262a12cc3ffed7250fe8f92d7a0a |
|
MD5 | 7c39abe70d01c6762b33483e91bc1fc7 |
|
BLAKE2b-256 | 526a064fc3b744e0ff543596493da7b8383e36875893ab2a4cf58408f2bc79f5 |