You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last metrics of an Artillery test (past ~15 secs?) are not reported to Datadog - Artillery main process exits before this is done. It is especially obvious with a short test, for example:
# test.yamlconfig:
target: https://sqroot.euphases:
- duration: 3arrivalRate: 2name: "First stage"plugins:
datadog:
# Custom hostname (leave blank if not desired)host: 'test-host'# Custom metric prefix (defaults to 'artillery.')prefix: 'artillery.'# Additional tags for all metricstags:
- 'mode:test'scenarios:
- flow:
- get:
url: /
Running it...
$ DEBUG=metrics,plugin:datadog DATADOG_API_KEY=secret ./node_modules/.bin/artillery run test.yaml
... results in no metrics in Datadog.
Increasing the test duration to 20 seconds results in metrics reported. Probably a bug in the way the done event is handled or data is flushed.
Both versions 0.1 and 0.2 are affected -- needs investigation.
The text was updated successfully, but these errors were encountered:
The last metrics of an Artillery test (past ~15 secs?) are not reported to Datadog - Artillery main process exits before this is done. It is especially obvious with a short test, for example:
Running it...
... results in no metrics in Datadog.
Increasing the test duration to 20 seconds results in metrics reported. Probably a bug in the way the
done
event is handled or data is flushed.Both versions
0.1
and0.2
are affected -- needs investigation.The text was updated successfully, but these errors were encountered: