artillery-plugin-applicationinsights
v0.3.0
Published
Artillery plugin to report to Azure Application Insights.
Downloads
6
Maintainers
Readme
artillery-plugin-applicationinsights
Artillery plugin to log the events into Azure Application Insights.
Developed in Dogma, compiled to JavaScript.
Engineered in Valencia, Spain, EU by EthronLabs.
Use
config:
plugins:
applicationinsights:
enabled: true|false
instrumentationKey: "instrumentation key"
eventName: "custom event name"
operationName: "operation_Name"
roleName: "cloud_RoleName"
autoCollectPerformance: true|false
samplingPercentage: percentage
maxBatchSize: size
maxBatchIntervalMs: ms
gracePeriod: period
enabled
(boolean), is the plugin enabled? Default:true
.instrumentationKey
(string, required), the instrumentation key to use.eventName
(string), the custom event name to set. Default:artillery
.operationName
(string), theoperation_Name
to set.roleName
(string), thecloud_RoleName
to set.gracePeriod
(number), the grace period, in milliseconds, to send the queued telemetry when finished. Default:1000
.autoCollectPerformance
(bool) sets if auto collecting performance counters. Default:true
.samplingPercentage
(number), The percentage of telemetry items tracked that should be transmitted. Default:100
.maxBatchSize
(number), the maximum number of telemetry items to include in a payload. Default:5
.maxBatchIntervalMs
(number), The maximum amount of time to wait for a payload to reachmaxBatchSize
. Default:10000
.
Notes:
All the events of the same session use the same
session_id
.All the events have the following custom properties added by this plugin:
itemId
, the number of the event in the session.event
, the kind of event:phaseStarted
,stats
,phaseCompleted
ordone
.