Name: artillery-plugin-datadog
Owner: Shoreditch Ops
Description: Artillery plugin for sending metrics to Datadog
Forked from: bigbank-as/artillery-plugin-datadog
Created: 2016-11-07 10:07:43.0
Updated: 2018-05-02 08:52:08.0
Pushed: 2016-10-06 10:43:41.0
Homepage: null
Size: 9
Language: CoffeeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Artillery plugin that reports load test results to Datadog.
The plugin uses datadog-metrics to submit Artillery metrics to Datadog over HTTPS and does not require a StatsD server (Datadog Agent). An alternative to this is artillery-plugin-statsd which uses StatsD.
npm install artillery artillery-plugin-datadog
)ynet.yaml
ig:
rget: https://skynet.org
ases:
- duration: 3
arrivalRate: 15
name: "First stage"
ugins:
datadog:
# Custom hostname (leave blank if not desired)
host: ''
# Custom metric prefix (defaults to 'artillery.')
prefix: 'artillery.'
# Additional tags for all metrics
tags:
- 'mode:test'
arios:
flow:
- get:
url: /status
Run artillery and specify Datadog API key as an environment variable.
TADOG_API_KEY=xxxxxxxxxxxx artillery run skynet.yaml
The following metrics are collected from Artillery and sent to Datadog.
2xx
range3xx
range4xx
range5xx
range200
(exactly). Similarly named metric is repeated for each response status code0 - 100
) of responses that returned with a 2xx
or 3xx
status codeArtillery plugin system documentation is at github.com/shoreditch-ops/artillery.
To display debug info, run Artillery with the DEBUG
environment variable:
ATADOG_API_KEY=xxxxx DEBUG=metrics,plugin:datadog artillery run skynet.yml