dd-trace-js icon indicating copy to clipboard operation
dd-trace-js copied to clipboard

Feature Request: Ava CI Instrumentation

Open schmod opened this issue 2 years ago • 2 comments

Hi!

Would it be possible to add instrumentation for tracing Ava tests?

Thanks!

schmod avatar Feb 10 '23 19:02 schmod

+1 to this request! Until this instrumentation has been added I found a work around.

  1. Use tap reporting on the ava test command with the tap-junit reporter
  2. Upload the output junit xml to datadog.

This would look something like the example commands below:

  1. ava --tap | yarn tap-junit --output test-results
  2. DATADOG_API_KEY=DATADOG_API_KEY DD_ENV=ci datadog-ci junit upload --service unit-tests test-results/tap.xml

frostme avatar Aug 03 '23 23:08 frostme

thanks for the request @schmod and sorry for the late reply. We'll consider this request when prioritizing new framework support 😄

juan-fernandez avatar Jun 28 '24 09:06 juan-fernandez