Skip to content

集成了阿里云API,包含获取阿里云云监控中RDS监控数据和redis监控数据,并暴露出来供Prometheus使用

Notifications You must be signed in to change notification settings

yongxiaodong/api-aliyun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

获取阿里云云监控中RDS监控数据和redis监控数据,并暴露出来供Prometheus使用

运行依赖

python3

clone代码、安装阿里云sdk

git clone https://github.com/yongxiaodong/api-aliyun.git
pip3 install -r required.txt

配置阿里云的秘钥信息

vim conf/settings.py

启动

python3 bin/start.py
> 默认日志会输出到logs目录中

web访问

http://{{ IP }}:9091/metrics

About

集成了阿里云API,包含获取阿里云云监控中RDS监控数据和redis监控数据,并暴露出来供Prometheus使用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published