Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Change env variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
hamitb committed Jul 4, 2019
1 parent 5859cf9 commit 7aad422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Constants.ts
Expand Up @@ -40,7 +40,7 @@ export const envVariableKeys = {
THUNDRA_LAMBDA_LOG_CONSOLE_DISABLE: 'thundra_agent_lambda_log_console_disable',
THUNDRA_LAMBDA_LOG_LOGLEVEL: 'thundra_agent_lambda_log_loglevel',
THUNDRA_AGENT_LAMBDA_AGENT_DEBUG_ENABLE: 'thundra_agent_lambda_debug_enable',
THUNDRA_LAMBDA_TRACE_INTEGRATIONS_HTTP_URL_DEPTH: 'thundra_agent_trace_integrations_http_url_depth',
THUNDRA_AGENT_LAMBDA_TRACE_INTEGRATIONS_HTTP_URL_DEPTH: 'thundra_agent_lambda_trace_integrations_http_url_depth',

DISABLE_SPAN_CONTEXT_INJECTION: 'thundra_agent_trace_instrument_integrations_spanContext_disable',
THUNDRA_LAMBDA_TRACE_USE_PROPAGATED_TRANSACTION_ID: 'thundra_agent_lambda_trace_use_propagated_transaction_id',
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/config/TraceConfig.ts
Expand Up @@ -108,8 +108,8 @@ class TraceConfig extends BasePluginConfig {
envVariableKeys.THUNDRA_MASK_HTTP_BODY) === 'true' : options.maskHttpBody;

this.httpPathDepth = Utils.getConfiguration(
envVariableKeys.THUNDRA_LAMBDA_TRACE_INTEGRATIONS_HTTP_URL_DEPTH,
) ? parseInt(Utils.getConfiguration(envVariableKeys.THUNDRA_LAMBDA_TRACE_INTEGRATIONS_HTTP_URL_DEPTH), 10)
envVariableKeys.THUNDRA_AGENT_LAMBDA_TRACE_INTEGRATIONS_HTTP_URL_DEPTH,
) ? parseInt(Utils.getConfiguration(envVariableKeys.THUNDRA_AGENT_LAMBDA_TRACE_INTEGRATIONS_HTTP_URL_DEPTH), 10)
: 1;

this.runSamplerOnEachSpan = koalas(options.runCustomSamplerOnEachSpan, false);
Expand Down

0 comments on commit 7aad422

Please sign in to comment.