If these properties are manually configured, use
falseonly for the boolean value.
The behaviour of Scope Agent can be modified by adding the following environment variables to your test target (instructions), or to to your
Scope for Swift GitHub Action:
Disabling Scope instrumentation
Scope auto instruments your code and tests by default. You can disable this behaviour.
Changing service name
You can specify the name of the service when sending data to Scope. Scope uses
default as fallback.
Change testing mode
This variable indicates whether the agent is running tests or it is being used for runtime instrumentation. By default it will run in testing mode
Adding agent metadata
You can send arbitrary metadata for every test associated with certain commit which will be shown by Scope.
Additionally, it is possible to set an environment variable as metadata value for a certain key, whose final value will be evaluated at runtime.
Select agent metadata as test configuration
Yon can select metadata keys to be considered as relevant in the configuration of the test.
Include HTTP payloads in HTTP span tags
You can include HTTP payloads in the related HTTP spans, truncated to the first 512 bytes.
By default, Scope Swift Agent will not send HTTP payloads as they are considered sensitive information.
Disabling HTTP auto instrumentation
You can disable Scope HTTP auto instrumentation. By default Scope will autoinstrument all
Include additional HTTP Headers in HTTP span tags
You can include additional HTTP Headers in HTTP span tags.
By default, Scope Swift agent will send common HTTP headers, filtering the content of those which can contain sensitive information, such as:
Note that the content of every header configured explicitly to be shown in the HTTP span tags will not be filtered.