Deployment Integrations
On-premise Integrations
Platform Integrations

Agent Configurations

After you integrate Thundra’s agent into your application, you can configure settings to decide which properties will be enabled on your agent. Environment variables that you can use to configure your agent are listed below.

Environment Variables

Name

Type

Default Value

thundra_apiKey

string

-

thundra_agent_lambda_disable

bool

false

thundra_agent_lambda_timeout_margin

number

200

thundra_agent_lambda_report_rest_baseUrl

string

https://api.thundra.io/v1

thundra_agent_lambda_report_cloudwatch_enable

bool

false

thundra_agent_lambda_trace_disable

bool

false

thundra_agent_lambda_metric_disable

bool

true

thundra_agent_lambda_log_disable

bool

true

thundra_log_logLevel

string

TRACE

thundra_agent_lambda_trace_request_disable

bool

false

thundra_agent_lambda_trace_response_disable

bool

false

thundra_agent_lambda_report_rest_trustAllCertificates

bool

false

thundra_lambda_debug_enable

bool

false

thundra_agent_lambda_warmup_warmupAware

bool

false

Thundra Api Key Configuration

Thundra Api Key Configuration
thundra_apiKey

Specifies the API key that monitoring data will be sent through. You won't be able to publish your data without setting an API key. You can generate an API key at Thundra, visit Projects page to learn more.

Lambda Agent Configuration

Lambda Agent Configuration
thundra_agent_lambda_disable

Set this configuration to true if you want to disable Thundra.

Lambda Agent Trace Configuration

Lambda Agent Trace Configturation
thundra_agent_lambda_trace_disable

Set this configuration to true if you want to disable the trace plugin.

Lambda Agent Log Configuration

The Thundra Go agent's log plugin is disabled by default.

Lambda Agent Log Configuration
thundra_agent_lambda_log_disable

Set this configuration to false if you want to enable the log plugin.

Lambda Agent Log Level

Lamba Agent Log Level
thundra_log_logLevel

Log level can be set with one of the following values:

TRACE,DEBUG,INFO,WARN,ERROR,NONE

Lambda Agent Metric Configuration

By default, the Thundra Go agent's metric plugin is disabled.

Lambda Agent Metric Configuration
thundra_agent_lambda_metric_disable

Set this configuration to false if you want to enable the metric plugin.

Lambda Agent CloudWatch Configuration

Lambda Agent CloudWatch Configuration
thundra_agent_lambda_report_cloudwatch_enable

Set this configuration to true if you want to enable asynchronous monitoring. Note that this is just one step you need to take for this process: Check out our How to Setup Async Monitoring page for more information.

Lambda Agent WarmUp Configuration

Lambda Agent WarmUp Configuration
thundra_agent_lambda_warmup_warmupAware

Set this configuration to true if you want to enable warming up and reduce cold starts. Note that this is just one step you need to take for this process: Check out our How to Warmup page for more information.

Lambda Agent Trace Request Configuration

Lambda Agent Trace Request Configration
thundra_agent_lambda_trace_request_skip

Set this configuration to true if you want to disable monitoring requests.

Lambda Agent Trace Response Configuration

Lambda Agent Trace Response Configuration
thundra_agent_lambda_trace_response_skip

Set this configuration to true if you want to disable monitoring responses.

Thundra Agent Report EndPoint Configuration

Thundra Agent Report EndPoint Configuration
thundra_agent_lambda_report_rest_baseUrl

Set this configuration if you want to change the URL to which the Thundra agent sends reports. If you are not forwarding Thundra data to our partner environments (Splunk, Honeycomb), then it is unnecessary to set this environment variable to a URL.

Note: path /monitoring-data is added to the URL automatically. For instance, in the default case (https://api.thundra.io/v1), the agent makes an HTTPS post request to the path https://api.thundra.io/v1/monitoring-data.

Thundra Agent Timeout Margin Configuration

Thundra Agent Timeout Margin Configuration
thundra_agent_lambda_timeout_margin

This specifies how much time is needed to send a report before a Lambda times out. You should change this variable if the timeout_margin is not enough and you do not see your timeout functions on the Thundra console. The default value is 200 ms.

Thundra Agent Certificate Configuration

Thundra Agent Certificate Configuration
thundra_agent_lambda_report_rest_trustAllCertificates

When dealing with HTTPS and HTTP with asynchronous functions, you can enable this configuration by setting it to true to interact with HTTPS or HTTP regardless.