Comments (5)
可以用prometheus的方式抓取https://github.com/flashcatcloud/categraf/tree/main/prometheus 。etcd推荐用fd_sd_config 方式,配置完如果能整理一篇文章更好了,欢迎参与
from categraf.
vim prometheus.yml
- job_name: "etcd"
scheme: https
scrape_interval: 15s
metrics_path: /metrics
tls_config:
ca_file: /root/etcd/ca.pem
cert_file: /root/etcd/etcd.pem
key_file: /root/etcd/etcd-key.pem
insecure_skip_verify: false
static_configs:- targets: ["10.10.10.1:2379", "10.10.10.2:2379", "10.10.10.3:2379"]
curl -Lk --cert ./etcd.pem --key ./etcd-key.pem https://10.10.10.1:2379/metrics
这就是pull的模式了,在跨网环境还是统一用categraf来push更方便,希望尽快集成到categraf里面
from categraf.
没太明白,是因为权限限制 所以pull模式不行? categraf支持prometheus的抓取方式。 可以用categraf 跟dns 部署到一个网络环境,remote write到外部的prometheus
from categraf.
还是不太方便,希望categraf能内置etcd、minio、wireguard插件
from categraf.
etcd 直接暴露了 /metrics 接口,minio也直接暴露了/minio/v2/metrics/cluster接口,通过categraf的prometheus插件:https://github.com/flashcatcloud/categraf/tree/main/inputs/prometheus 直接采集即可
from categraf.
Related Issues (20)
- categraf中的net_response和http_response插件获取的code值能否调整一下 HOT 2
- 没有docker 容器监控的 系统内置模板么 HOT 1
- input.netstat_filter 端口监控,80端口偶尔误报 HOT 1
- Categraf-v0.3.60 采集日志文件无法达到采集上限 HOT 3
- categraf的ibex的设计请教 HOT 2
- 使用--intall安装 systemctl 日志输出问题 HOT 1
- 希望增加vsphere插件中的ESXi主机存活检测 HOT 4
- categraf是否可以增加windows执行powerShell脚本的支持? HOT 4
- postgre 监控采集up指标异常 HOT 1
- categraf在windows执行脚本,当meta/{id}/stdout文件 有中文的时候,会报错 HOT 11
- 夜莺怎么设置GPU的告警呀?很着急,window 使用了categraf 的dcgm插件 启动categraf 却说 dcgm not support HOT 4
- 关于日志采集存储 HOT 3
- 日志采集未按照预期 HOT 2
- categraf输出到promethues的数据时间不对 HOT 10
- categraf中redis自定义命令采集如何写 HOT 7
- input.snmp获取不到数据收否可以默认置为0? HOT 1
- categraf 的 input.zookeeper 插件是对端口进行探活吗? HOT 2
- kafka插件只有3个指标,什么情况,giegie
- iptables input.iptables panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- 使用categraf采集SNMP数据,遇到string类型的数据会提示没有信息获取 HOT 6
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.