This integration was removed in Artillery v2.0.24 in favor of the OpenTelemetry-native integration. See the guide for setting up OpenTelemetry reporting.
Lightstep
Lightstep integration sends a span for every HTTP response (rather than pre-aggregated metrics).
Configuration
- To send events to Lightstep, set
typetolightstep - Set
accessTokento an access token - Set
componentNameto the name of a component for which the spans will be sent - Default tags for every span may be added by setting key-value pairs under
tags - Optional: set
enabledtofalseto disable the integration
The following tags are set on every span:
url- full URL of the requesthost- hostname + portmethod- HTTP method, e.g.GETstatusCode- status code, e.g.200responseTimeMs- time-to-first-byte of the response in milliseconds
Example
config: plugins: publish-metrics: - type: lightstep # LIGHTSTEP_ACCESS_TOKEN is an environment variable which contains the token accessToken: '{{ $env.LIGHTSTEP_ACCESS_TOKEN }}' component: artillery-tests tags: team: sre purpose: peak-loadDebugging
Set DEBUG=plugin:publish-metrics:lightstep when running your tests to print out helpful debugging messages when sending metrics to Lightstep.
DEBUG=plugin:publish-metrics:lightstep artillery run my-script.yamlLast updated on