posts/2024/learn-prom-with-excel/ #340
Replies: 1 comment
-
测试 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
posts/2024/learn-prom-with-excel/
counter类型的变化率 rate, irate, increase
counter类型一般是只增不减的累积值,例如系统累计的http请求数量, 累计的话单数量。
counter类型的指标变化率一般使用三个函数来计算,rate, irate, increase
指标每隔15s采样一次数据, A列是采集的指标值,B列是对应的采集时间。
demo_api_request_duration_seconds_count{instance="demo-service-0:10000",path="/api/bar",status="200",method="GET"}[1m]
rate是计算每秒的变化率,
http://localhost:1313/posts/2024/learn-prom-with-excel/
Beta Was this translation helpful? Give feedback.
All reactions