Skip to content

metircs指标数据通过prometheus采集的问题 #930

@CoolLiuzw

Description

@CoolLiuzw

当前期望通过 prometheus 进行 metrics 指标数据的采集,但是当前 bfe 的 metrics 的指标实现的方式为一个服务不同的模块分多个 metrics_path 获取数据。
eg:
http://xxxxx/monitor/tls_state?format=prometheus
http://xxxxx/monitor/http_state?format=prometheus

但是对于prometheus服务的配置来说,一个bfe服务相当于一个 job 。
image
一个job,只能配置一个metrics_path,不支持多个metrics_path的方式

请问一下 bfe 实际使用中指标的采集的最佳实践是怎么样的?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions