Hi!
I'm trying to configure Datadog monitoring for the average duration of some trident operations like volume_add and volume delete.
Found this in the docs:
Average duration in ms of operations performed by Astra Tridentsum by (operation) (trident_operation_duration_milliseconds_sum{success="true"}) / sum by (operation) (trident_operation_duration_milliseconds_count{success="true"})
So I tried to do something similar in Datadog for the volume_add operation for example (and dividing by 1000 to go from ms to s)
sum:trident.trident_operation_duration_milliseconds.sum{operation:volume_add,success:true} by {operation} / sum:trident.trident_operation_duration_milliseconds.count{operation:volume_add,success:true} by {operation}.as_count() / 1000
But I get results in the thousands, like 8k. That can't be right.
Would anyone know what I'm doing wrong?