wmonitor
wmonitor
- wmonitor会从环境变量中获取"BUILD_TYPE"与"CONFIG_DIR"
demo.py
from wmonitor.metric import Metric
Metric.counter("demo_counter").send()
Metric.counter("demo_counter").tags("business=123").send()
Metric.counter("demo_counter", 2).send()
Metric.gauge("demo_gauge").send()
Metric.state("demo_state").send()
config
| BUILD_TYPE | 文件名称 |
|---|---|
| BETA | wmonitor_beta.cfg |
| DEV | wmonitor_dev.cfg |
| PROD | wmonitor_prod.cfg |
| DEFAULT or '' | wmonitor.cfg |
wmonitor.cfg
[web]
domain = http://b1.wmonitor-adaptor.beta.wormpex.com
[app]
app_code = ai_vision_vision_dynamic_cabinet_service
Release files for wmonitor 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wmonitor-0.0.9.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wmonitor-0.0.9-py3.7.egg | Legacy Egg format | - | - | Details |
Total release size: 11.1 kB
Release files / wmonitor-0.0.9.tar.gz
| Download URL | wmonitor-0.0.9.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95ee0dfc9dfde3c4d801c4e99ac6fbbef3a417560acb67f59e0ea4f0c4a407ea
|
|
BLAKE2b-256 checksum How to use checksums |
6f6727490cc89bd5ea7f388dbf68c4880f6edc04a8d74dc230aa731255532e30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.2
|
Release files / wmonitor-0.0.9-py3.7.egg
| Download URL | wmonitor-0.0.9-py3.7.egg |
|---|---|
| Size | 7.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
24c01abcc8c3af0d1fe8e5038ac7e360bbd0280f848b643464f4770425cc66d6
|
|
BLAKE2b-256 checksum How to use checksums |
42c36295b71b5333807984cd2c5979b56a81b7ed2db918bd6efb9cc9c1912c7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.2
|