Comments (5)
docker 插件,最适合的场景,是没有用kubernetes的情况下,纯粹运行的docker ,
如果已经部署了kubernetes,则用Prometheus 插件,与 kube_state_metrics 对接采集,即可,
两个在语义上是重复,建议在kubernets环境,不必启用docker 采集,以上是我应用实践分享。
from categraf.
k8s 的话直接通过 kubelet 采集 cadvisor 的监控数据应该就可以了,通过 kubelet 的 /metrics/cadvisor 接口,Categraf 的 prometheus 插件直接通过这个接口读取监控数据即可
from categraf.
但 helm charts 中默认有docker相关的配置,这个有影响吗?我部署时失败了
from categraf.
可以拿掉 docker 监控部分,直接使用 prometheus 插件采集 kubelet 的 /metrics
/metrics/cadvisor
两个接口,一个是 kubelet 的监控数据,一个是 cAdvisor的监控数据
from categraf.
感谢反馈,k8s环境确实可以不单独启用docker采集 。如果感兴趣,欢迎提PR
from categraf.
Related Issues (20)
- http_server_requests_seconds指标丢失 HOT 3
- vsphere的input得到的数据只有磁盘读写速率,没有磁盘使用率,希望可以补充一下。
- vsphere input采集的vm指标用来标识虚拟机的标记只有vm_name没有vm_ip,希望可以增加一个vm_ip字段。
- windows server2003 上无法启动 HOT 2
- 安全这块插件有吗? HOT 2
- 夜莺监控采集时间间隔五分钟时监控数据不连串 HOT 3
- 0.3.49,net相关的数值不上报 HOT 24
- input.mysql 插件监控mysql, 被监控实例内存会逐渐增大,直至触发内存上限被 OOM - 各组件均使用 docker部署,版本为最新版本,配置内容为文档中的示例位置 HOT 1
- http_response 增加对AD域认证的支持
- inputs.diskio插件新增IOPS上限次数 磁盘带宽上限次数监控
- Windows Server 2008 R2 启动报错 HOT 2
- 时序数据库计划支持tdengine吗 HOT 2
- 目前采集器可否支持交换机配置gRPC协议进行查看数据 HOT 4
- go mod tidy时报错 HOT 2
- categraf web端口 9100 推送metrics报错 HOT 3
- input.snmp是否可以更改不同监控项[[instances.table.field]] 的采集频率? HOT 6
- 接口pushgateway中ignore_hostname不能通过配置进行修改 HOT 5
- 支持python flask框架项目服务监控 HOT 1
- Windows server 2008r2安装categraf提示错误 HOT 1
- 通过input.snmp采集交换机数据,会大大提高设备cpu的使用率 HOT 4
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 categraf.