Prometheus 指标文本解析器

100% 浏览器本地・零服务器上传

将 Prometheus 及 OpenMetrics 文本暴露格式解析为清晰指标清单与 JSON 数据。

Total Metrics
4
Sample Series
13
Metric Types
3
Status
✓ OpenMetrics Valid
Type Filter:
JSON schema exportable
http_requests_total
The total number of HTTP requests.
counter
LabelsValue
method="post", handler="/login", code="200"1027
method="post", handler="/login", code="401"14
method="get", handler="/items", code="200"45912
node_cpu_seconds_total
Seconds the CPUs spent in each mode.
counter
LabelsValue
cpu="0", mode="idle"10293.45
cpu="0", mode="system"142.89
cpu="0", mode="user"540.12
go_goroutines
Number of goroutines that currently exist.
gauge
LabelsValue
None38
http_request_duration_seconds
A histogram of request latencies.
histogram
LabelsValue
le="0.05"24054
le="0.1"33444
le="0.2"100392
le="+Inf"144351
None53423
None144351

将此工具固定在浏览器侧边栏

随时按下 Alt+M 即可在当前标签页侧边唤出此工具,免去切网页的麻烦。100% 离线免费。

获取浏览器插件

如何解析 Prometheus 指标文本

  1. 1从监控服务的 /metrics 端点复制原始文本并粘贴到解析器中。
  2. 2查看按指标名称归类的说明、类型定义及各组标签的多样本值。
  3. 3一键导出解析后的结构化 JSON 用于单元测试断言或离线监控分析。

OpenMetrics 开放标准

Prometheus 文本格式已被标准化为 OpenMetrics,是云原生及 Kubernetes 生态系统中最主流的可观测性协议。

常见问题解答 (FAQ)

喜欢 Prometheus 指标文本解析器 吗?分享给你的工程师朋友,一起告别广告与隐私泄露!

MiniToolDesk 100% 离线计算、零数据上传,您的支持是保持纯净无广告的动力。

相关开发者工具