Prometheus Topk中间排名
普罗米修斯如何使用该功能查询中间排名?例如,我使用TOPK查询前100名,但我想查询50-100。我该怎么办?
想查询50-100
How does Prometheus use the function to query the middle ranking? For example, I use TOPK to query the top 100, but I want to query 50-100. What should I do?
want to query 50-100
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 @ 修饰符对带有偏移量的范围数据进行排名,这些数据在自定义范围内使用 topk() 进行查询,类似于 offset 修饰符。
有关更多信息,请访问文档:
Prometheus - @修饰符
使用@修饰符查询
You can use @ modifier to rank range data with offset which queries in custom range with topk(), alike offset modifier.
For more info visit doc:
Prometheus - @ Modifier
Querying with @ Modifier