How do i get absolute values for a series set in bosun? -
i have following series set has negative values, how convert them positive values? not values in series negative multiplying -1 may option
if using master can following:
$q = q("avg:rate:os.cpu{host=*bosun*}", "5m", "") map($q, expr(abs(v())))
since 0.6.0 not released yet, hasn't been published our documentation. can find documentation map in https://raw.githubusercontent.com/bosun-monitor/bosun/master/docs/expressions.md .
Comments
Post a Comment