Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K6 does not send metrics like k6.http_req_duration.avg to datadog statsd #2776

Closed
papatelst opened this issue Nov 17, 2022 · 3 comments
Closed
Labels
bug statsd Something related to the statsd

Comments

@papatelst
Copy link

Brief summary

I am using the K6 datadog integration as mentioned here -
https://k6.io/docs/results-visualization/datadog/
I am using docker container to send metrics to datadog from K6 run through teamcity.
The issue is - k6.http_req_duration.avg in datadog UI is close to, but never the same as K6 build log. K6 is not sending certain metrics to Datadog.
The details of the issue logged on K6 community website can be found here - https://community.k6.io/t/http-req-duration-wrong-datadog/440/8
see my datadog config below
image
I opened a ticket with datadog team here - https://help.datadoghq.com/hc/en-us/requests/954788
However, datadog team told me that this is a K6 issue where it is not sending certain metrics for example - k6.http_req_duration.avg:13930.0 in milliseconds. Here is a snapshot from their response.
image
Please fix this as it does not seem to be datadog agent issue.

k6 version

~0.37.0

OS

Linux

Docker version and image (if applicable)

No response

Steps to reproduce the problem

Run K6 tests using docker and send data to datadog using statsd agent. Compare metrics like k6.http_req_duration.avg in k6 build log and datadog UI timeseries graph

Expected behaviour

The value of the metric should be the same.

Actual behaviour

The values are close but never the same.

@bucurrobert
Copy link

bucurrobert commented Apr 21, 2023

We have the same issue in our organisation, any update with the bug?

@LeonAdato
Copy link

Per @olegbespalov and @javaducky, this issue should probably be part of the StatsD project. Feel free to transfer it here:

https://github.com/LeonAdato/xk6-output-statsd

@olegbespalov
Copy link
Contributor

Closing in favor of LeonAdato/xk6-output-statsd#25

@olegbespalov olegbespalov closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2024
@olegbespalov olegbespalov removed their assignment Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug statsd Something related to the statsd
Projects
None yet
Development

No branches or pull requests

5 participants