Ad Widget

Collapse

How to calculate the sum of all prototype items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bartheerman
    Junior Member
    • Sep 2020
    • 2

    #1

    How to calculate the sum of all prototype items

    Hello,

    I want to calculate the sum of all created items by a prototype item. For example, I want to calculate the sum of the cpu usage of all discovered containers ( sum(docker.container_stats.cpu_usage.total.rate[*]) )
    Is there a way to do this?
Working...