简体   繁体   中英

MetricQL function inside the PromQL

Im using a dashboard from here and it is using a function called topk_max I found that this is from MeticQL. But Im using prometheus.

Is there any way to replicate the function in PromQL?

I think you're searching for the "topk" aggregation operator.

More info at the Prometheus documentation here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM