I am getting some odd results in Datadog when I define custom metrics in k6.
I have a custom metric (success_counter) that adds the value whenever a specific HTTP call is successful.
From k6 results, I can see that it was successful 311 times. But in DD it shows 1.71K.
The DD formula is:
The resampling is set to 1.
Same formula for the basic http_reqs gives fairly accurate result (1.21K in DD for 1244 in k6).
Does anybody know why I get such a large number for my custom metric? I tried multiple times and the custom metric value in DD is always roughly 5.4 times more than k6 (???)