mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Update instructions to log arbitrary metrics
This commit is contained in:
parent
3b63a6418b
commit
7f33e36ce0
@ -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
|
||||
-------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user