artillery-plugin-applicationinsights

0.3.0 • Public • Published

artillery-plugin-applicationinsights

NPM version Total downloads

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), the operation_Name to set.

  • roleName (string), the cloud_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 reach maxBatchSize. 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 or done.

Package Sidebar

Install

npm i artillery-plugin-applicationinsights

Weekly Downloads

1

Version

0.3.0

License

none

Unpacked Size

11 kB

Total Files

4

Last publish

Collaborators

  • ethronlabs