nxtrace / NTrace-core

NextTrace, an open source visual route tracking CLI tool
https://www.nxtrace.org
GNU General Public License v3.0
5.76k stars 340 forks source link

支持探测过程及结果支持上报到prometheus #96

Closed nondevops closed 1 year ago

nondevops commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 全球用户到服务器的网络链路较长,加上用户存在各种各样的网络环境,对网络监控是运维角色及整改IT基础设施稳定性的重要监控对象。

Describe the solution you'd like A clear and concise description of what you want to happen. 将探测结果上报到支持prometheus格式的时序库进行存储,让监控通过阀值等手段进行告警。 例如,http://xxxxxx:9453/metric,9453代表 nexttrace服务的端口

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

tsosunchia commented 1 year ago

您的建议确实非常好,我也想使用带有类似功能的软件,但考虑到nexttrace的架构和目前主要的应用,您提出的需求可能要另开一个项目进行添加了,建议您目前可以使用ping_exporter、blackbox这类已经很成熟的prometheus exporter来满足您的需求。

nondevops commented 1 year ago

@tsosunchia ping blackbox 没有跟踪路由的功能,无法做到可视化,您的项目已经具备基础条件了,只要包装入口形成服务,我相信它能成为在网络监控领域的重要利器。

sjlleo commented 1 year ago

Hi nondevops,

后续会考虑支持,NextTrace 有计划增加 metrics 包以对外提供信息。

Leo

sjlleo commented 1 year ago

如无其他问题,本 issue 将被关闭,如需要对该功能有更多补充,请新提 issue。