Graphite shows top 10 indicators, filtered by time.

I am new to Graphite and don't understand how to do this:

I have a large number of time metrics (celery metrics) in the format stats.timers.*.median

I want to show:

  • Top N scores with an average above X
  • Display them on the same chart with indicator names

Now I have it averageAbove(stats.timers.*.median,50), but it displays graphs without names and displays strange and on a bad scale. Please help me!:)

+4
source share
1 answer

You will need to combine several functions to get the desired result.

limit(sortByMaxima(averageAbove(stats.timers.*.median, X)), N)

Running averageAbove as a base.

, , - , " ", sortByMAxima.

limit , limit.

, . 3 .

+8

Source: https://habr.com/ru/post/1536942/


All Articles