C++ Agent Parameter Reference Table
SeaLights C++ Agent โ Configuration Parameters Reference
A concise lookup table for every configuration parameter and the ways you can provide it.
Authentication token
๐งโก Either
Both
โ
--token | --tokenFile
SL_TOKEN | SL_TOKENFILE
Raw token or path to token file (required)
โ
Build session ID
๐ง Config
Both
โ
--buildSessionId | --buildSessionIdFile
SL_BUILDSESSIONID| SL_BUILDSESSIONFILE
Build-session identifier
โ
Application name
๐ง Config
Coverage Listener Mode (AUT)
appName
--appName
SL_APPNAME
Display name in Sealights
โ
Build name
๐ง Config
Coverage Listener Mode (AUT)
buildName
--buildName
SL_BUILDNAME
Build identifier (auto-generated if omitted)
โ
Branch name
๐ง Config
Coverage Listener Mode (AUT)
branchName
--branchName
SL_BRANCHNAME
Git branch for build
Unspecified
Proxy URL
๐งโก Either
Both
proxyUrl
--proxy-url | --proxy
SEALIGHTS_PROXY_URL
HTTP/HTTPS proxy
โ
Collector URL
๐งโก Either
Both
collectorUrl
--collector-url | --collector | -c
SEALIGHTS_COLLECTOR_URL
Override backend collector
โ
Packages included
๐ง Config
Coverage Listener Mode (AUT)
include
--include
SL_INCLUDE
Globs of C++ packages to instrument
โ
Packages excluded
๐ง Config
Coverage Listener Mode (AUT)
exclude
--exclude
SL_EXCLUDE
Packages to skip
โ
Logging enabled
๐งโก Either
Both
loggingEnables
--loggingEnabled
SL_LOGGING_ENABLED
Boolean
false
Log level
๐งโก Either
Both
logLevel
--logLevel
SL_LOGLEVEL
silent | debug | info | warn | error
info
Log directory
๐งโก Either
Both
logDir
--logDir
SL_LogDir
Folder where the logs will be saved
Lab ID
๐งโก Either
Both
labId
--labId
SL_LABID
Group related executions
Test stage
๐งโก Either
Both
testStage
--test-stage
SL_TEST_STAGE
Stage name shown in UI
Test Listener Session ID
๐งโก Either
Both
testListenerSessionKey
--testListenerSessionKey
Agent address
agentAddress
--agentAddress
SL_AGENT_ADDRESS
If the AUT and the Test Runner are on different machines, enter the IP of the Test Runner machine
Agent port
agentPort
--agentPort
SL_AGENT_PORT
Port of the Test Runner machine
Bin directory
๐ง Config
Coverage Listener Mode (AUT)
binDir
--binDir
SL_BINDIR
Path to the source folder
Parameters That Can Be Deferred to Runtime
In the above table, the parameters with a "Timing" value of "Either" do not need to be set during SL.Agent.Cpp config command; they can be set later at runtime using environment variables.
These parameters are optional during the config phase
They can be set during config if desired, but it's not required
They have the flexibility to be set at runtime via environment variables instead
Last updated
Was this helpful?

