send http request to wmonitor
Project description
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
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
wmonitor-0.0.9.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wmonitor-0.0.9-py3.7.egg
(7.5 kB
view details)
File details
Details for the file wmonitor-0.0.9.tar.gz.
File metadata
- Download URL: wmonitor-0.0.9.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95ee0dfc9dfde3c4d801c4e99ac6fbbef3a417560acb67f59e0ea4f0c4a407ea
|
|
| MD5 |
58f109333b6a3f1a398f774620576026
|
|
| BLAKE2b-256 |
6f6727490cc89bd5ea7f388dbf68c4880f6edc04a8d74dc230aa731255532e30
|
File details
Details for the file wmonitor-0.0.9-py3.7.egg.
File metadata
- Download URL: wmonitor-0.0.9-py3.7.egg
- Upload date:
- Size: 7.5 kB
- Tags: Egg
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24c01abcc8c3af0d1fe8e5038ac7e360bbd0280f848b643464f4770425cc66d6
|
|
| MD5 |
db4df73b8c7b3bdec78f9a2ecedbabfc
|
|
| BLAKE2b-256 |
42c36295b71b5333807984cd2c5979b56a81b7ed2db918bd6efb9cc9c1912c7a
|