Update instructions to log arbitrary metrics

This commit is contained in:
Alexis Lê-Quôc 2014-06-21 22:01:30 -04:00
parent 3b63a6418b
commit 7f33e36ce0

View File

@ -169,7 +169,7 @@ all requests. The following metrics are generated:
To generate new metrics you can `log.info` with a few additional keywords::
log.info("...", metric="my.metric", value=1.2, mtype="gauge")
log.info("...", extra={"metric": "my.metric", "value": "1.2", "mtype": "gauge"})
LICENSE
-------