metircs指标数据通过prometheus采集的问题 #961
CoolLiuzw
started this conversation in
Ideas(新功能的建议和讨论)
Replies: 3 comments 1 reply
-
|
这种应该 是 把多个path地址写到注册中心中,然后prometheus从注册中心中获取把? 不应该在配置里面写死啊 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
同问,metric是否应该集中到一个url采集,貌似Prometheus通常都是这么用的? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
// 一个job,只能配置一个metrics_path,不支持多个metrics_path的方式 // metric是否应该集中到一个url采集,貌似Prometheus通常都是这么用的? 采集BFE运行的指标确实是非常重要的功能。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
当前期望通过 prometheus 进行 metrics 指标数据的采集,但是当前 bfe 的 metrics 的指标实现的方式为一个服务不同的模块分多个 metrics_path 获取数据。
eg:
http://xxxxx/monitor/tls_state?format=prometheus
http://xxxxx/monitor/http_state?format=prometheus
但是对于prometheus服务的配置来说,一个bfe服务相当于一个 job 。

一个job,只能配置一个metrics_path,不支持多个metrics_path的方式
请问一下 bfe 实际使用中指标的采集的最佳实践是怎么样的?
Beta Was this translation helpful? Give feedback.
All reactions