artillery-plugin-discord-hook-stats v1.0.14
Artillery.io Discord Webhook Send Stats Plugin
Send artillery stats to discord server
Usage
Install
npm install -g artillery-plugin-discord-hook-stats - if you've installed Artillery globally
npm install artillery-plugin-discord-hook-stats otherwise.
Example configuration
config:
plugins:
discord-hook-stats:
url: 'https://discord.com/api/webhooks/...'
username: 'ArtilleryStats',
onlyError: false,
skipList: ['scenariosAvoided', 'latency.p999'],
tagUsers: ['999999999999999999']username, onlyError, tagUser, and skipList are optional;
Discord settings
About Discord Webhook: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
How get multi-digit user id: https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-
tagUsers- List of multi-digit user ids to be tagged
Published metrics
scenariosCreatedscenariosCompletedrequestsCompletedlatency.minlatency.maxlatency.medianlatency.p95latency.p99rps.countrps.meanscenarioDuration.minscenarioDuration.maxscenarioDuration.medianscenarioDuration.p95scenarioDuration.p99scenarioCounts.0,scenarioCounts.0etccodes.200,codes.301etcerrors.ECONNREFUSED,errors.ETIMEDOUTetcmatchesconcurrencypendingRequests
Metrics will be added or removed based on what artillery decides to send.
Metrics can be skipped by passing in an additional configuration property skipList. Skip list values can look like the following:
"skipList": ["scenarioDuration"]- would skip allscenarioDurationmetrics"skipList": ["latency.max"]- would skip only thelatency.maxmetric"skipList": ["scenarioDuration, latency.max"]- a comma separated list can be used to pass in multiple values.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago