nezha 面板 api 转 prometheus metrics 接口
Project description
介绍
nezha 面板 api 转 prometheus metrics 接口
安装
- 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']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nezha-exporter-0.1.tar.gz
(7.2 kB
view details)
File details
Details for the file nezha-exporter-0.1.tar.gz
.
File metadata
- Download URL: nezha-exporter-0.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74c9b5cefe5ab0e0fb0820f36d01ef981e012cfd0c434ddf04e65c5339a5e6a1 |
|
MD5 | 97b2c513b4d68535140bececc9ccb58b |
|
BLAKE2b-256 | 4c7332cd013f7af8bf19c861937a14d7ec0992253af2101eaa206b2fd793ea62 |