This is my expression displaying average user actions.
.es("user:*", metric=cardinality:user).color(#FF0000).label(user), .es("action:*", metric=sum:actionCount).divide(.es("user:*", metric=cardinality:user)).color(#333300).label(avg action)
When I hover on the graph, the second line's average values are integers. I suspect it is because both
sum:actionCount are integers. I tried to append the second expression with
.precision(4) and it, expectedly, does not work.
Can I make it compute decimal results in this case?
Edit: I also tried to
.divide() that fails also.