Skip to main content

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

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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page