TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why Prometheus exporters need fixed TCP ports

2 点作者 valyala将近 2 年前

1 comment

cratermoon将近 2 年前
What? They need the port number as part of the instance key? Why not just have the exporter advertise a pseudo-port in its metrics and use that? Existing instances can keep using their "real" port number, and new instances can use whatever. The scraper can read the pseudo-port from the metrics in place of the real port.
评论 #36704579 未加载