【发布时间】:2019-10-20 19:05:36
【问题描述】:
我正在尝试使用 prometheus 从 Istio envoy 的 15090 端口抓取数据。
我目前的设置是使用独立 prometheus 的 istio 1.1.5(不是 istio 附带的那个)
Envoy sidecar 附加到不同命名空间中的多个 pod,我不确定如何在多个 istio-proxy 容器中的特定端口上抓取数据
我尝试使用服务监视器从 istio envoy 抓取数据,但它不起作用。
我目前尝试的服务监视器。
kind: ServiceMonitor
metadata:
annotations:
labels:
k8s-app: istio
name: envoy
namespace: monitoring
spec:
endpoints:
- interval: 5s
path: /metrics
port: http-envoy-prom
jobLabel: envoy
namespaceSelector:
matchNames:
- istio-system
selector:
matchLabels:
istio: mixer```
can somebody help, how to scrape data from port 15090 on multiple istio-proxy containers attached to multiple pods.
【问题讨论】:
标签: kubernetes prometheus istio