shoreditch-ops/artillery-plugin-datadog

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

artillery-plugin-datadog

NPM Version Build Status Downloads Stats

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.

Usage
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
Metrics

The following metrics are collected from Artillery and sent to Datadog.

Development

Artillery 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

License

Apache-2.0 license


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.