1

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?

valyala
  • 11,669
  • 1
  • 59
  • 62
TheDataGuy
  • 2,712
  • 6
  • 37
  • 89

1 Answers1

0

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

More info at the Prometheus documentation here.