Comments (7)
info_metrics:
- ecs
- rds
- redis
这些值是代码里面自己定义的吗info_metrics 是需要额外写代码支持的(主要是因为所有资源的 info 信息接口都是单独的, 而且请求格式和响应格式都有区别, 需要针对性编码), 而这部分不属于云监控的 API, 同理, SLB 也是没有 info_metrics 支持的, 欢迎 PR
我们今天接入mongo监控,顺手把这个做了。
from aliyun-exporter.
全都支持, 可以启动 exporter 后访问 localhost:9525 查看
from aliyun-exporter.
那像mongodb是不是要自己写代码
from aliyun-exporter.
info_metrics:
- ecs
- rds
- redis
这些值是代码里面自己定义的吗
from aliyun-exporter.
加了slb就报错
aliyun-exporter_1 | for metric in desc_func():
aliyun-exporter_1 | File "/usr/src/app/aliyun_exporter/collector.py", line 137, in collect
aliyun-exporter_1 | yield self.info_provider.get_metrics(resource)
aliyun-exporter_1 | File "/usr/local/lib/python3.7/site-packages/cachetools/init.py", line 46, in wrapper
aliyun-exporter_1 | v = func(*args, **kwargs)
aliyun-exporter_1 | File "/usr/src/app/aliyun_exporter/info_provider.py", line 38, in get_metrics
aliyun-exporter_1 | }resource
aliyun-exporter_1 | KeyError: 'slb'
还有加入没有redis服务加了是不是也不行
from aliyun-exporter.
info_metrics:
- ecs
- rds
- redis
这些值是代码里面自己定义的吗
info_metrics 是需要额外写代码支持的(主要是因为所有资源的 info 信息接口都是单独的, 而且请求格式和响应格式都有区别, 需要针对性编码), 而这部分不属于云监控的 API, 同理, SLB 也是没有 info_metrics 支持的, 欢迎 PR
from aliyun-exporter.
@fangjianfeng
我也需要接入mongo监控。我还没成功。
请共享我。。谢谢
from aliyun-exporter.
Related Issues (20)
- RDS采集数据时某些库没有数据 HOT 2
- The exporter always give AttributeError HOT 1
- 采集阿里云mongoDB时报错。 HOT 1
- exporter加了redis或lsb的metrics就报错
- need help HOT 1
- 配置了网关监控就出现错误了 HOT 1
- promethus的访问url后缀可以配置吗 HOT 1
- 这个模版的grafana配置,有点不合理啊 HOT 4
- 消息队列RocketMQ是否支持呢?
- acs_ads中这样的metric ads.diskUsed如何在配置文件中编写呢?
- 使用 RAM 角色概览 - use RAM role
- acs_ecs_dashboard的操作系统级别监控项拿不到数据
- polardb的cluseter拉取失败,polardb该怎么配置呢
- 这个的采集频率是多少呢
- RDS 的详细性能数据怎么展示?
- docker 镜像中不支持slb?
- 还是会报 KeyError: 'mongodb' 错误
- aliyun_meta_rds_info, DBInstanceDescription
- 配置oss 后报错 KeyError: 'Average'
- aliyunsdkcore.acs_exception.exceptions.ServerException: HTTP Status: 404 Error:InvalidAccessKeyId.NotFound Specified access key is not found. RequestID: C7E393EC-A6D6-4BAB-922F-7DA3AC55DFCE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aliyun-exporter.