介绍
nezha 面板 api 转 prometheus metrics 接口 exporter
安装
- pip install nezha-exporter
- nezha-prometheus-exporter --endpoint http://dashboard.example.com:8008 --endpoint-token xxx
- 配置 prometheus.yml
scrape_configs:
- job_name: 'nezha'
static_configs:
- targets: ['localhost:9221']
Metadata
Release files for nezha-exporter 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nezha-exporter-0.2.tar.gz | 7.5 kB | Details |
Release files / nezha-exporter-0.2.tar.gz
| Download URL | nezha-exporter-0.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a7ec058beb5c2c958155f164617e8ba063823097f08a5354ef107b1d4faaf12
|
|
BLAKE2b-256 checksum How to use checksums |
d783d7d6160408b4b40e8ab73dda396d6dfaecb8c10cdfd57f2560b86be4b43d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|