在k8s的master节点上安装metricbeat,/etc/metricbeat/modules.d/etcd.yml的内容:
请教如何处理?谢谢。
# Module: etcd
# Docs: https://www.elastic.co/guide/e ... .html
- module: etcd
metricsets:
- leader
- self
- store
- metrics
period: 10s
hosts: ["127.0.0.1:2379"]
#username: "user"
#password: "secret"
metricbeat -e命令里有错误信息:module/wrapper.go:244 Error fetching data for metricset etcd.self: error in http fetch: error making http request: Get http://127.0.0.1:2379/v2/stats/self: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02"
curl http://192.168.80.5:2379/v2/members的输出结果也为空。请教如何处理?谢谢。
0 个回复