Prometheus 如何查询联邦普罗米修斯度量?
每个云簇(CloudFoundry,K8s…)都有多个普罗米修斯 我试图通过仅为Clooundry prometheus配置层次结构来设置prometheus,作为第一步: 这是我的普罗米修斯形态:Prometheus 如何查询联邦普罗米修斯度量?,prometheus,Prometheus,每个云簇(CloudFoundry,K8s…)都有多个普罗米修斯 我试图通过仅为Clooundry prometheus配置层次结构来设置prometheus,作为第一步: 这是我的普罗米修斯形态: - job_name: federate-cfy-cluster1 honor_labels: true honor_timestamps: true params: match[]: - '{job="~.+"}' scrape_interval
- job_name: federate-cfy-cluster1
honor_labels: true
honor_timestamps: true
params:
match[]:
- '{job="~.+"}'
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /federate
scheme: http
static_configs:
- targets:
- prometheus.cfy.cluster1
在cloudfoundry proemtheus上,我有以下指标,例如:
我不明白为什么我没有在我的普罗米修斯等级上得到这些指标?
使用curl-G--data urlencode'match[]={job=~“+”}http://prometheus.cfy.cluster1/federate
我有所有的指标