Skip to content

Commit

Permalink
refactor(Console): Upgrade to rely on v0.2 version of extension
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Mar 17, 2022
1 parent 2b8afac commit 3ccfec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/classes/console.js
Expand Up @@ -343,7 +343,7 @@ Object.defineProperties(
SLS_OTEL_REPORT_METRICS_URL: `${this.otelIngestionUrl}/v1/metrics`,
SLS_OTEL_REPORT_TRACES_URL: `${this.otelIngestionUrl}/v1/traces`,
OTEL_RESOURCE_ATTRIBUTES: `sls_service_name=${this.service},sls_stage=${this.stage},sls_org_id=${this.orgId}`,
AWS_LAMBDA_EXEC_WRAPPER: '/opt/otel-extension/otel-handler',
AWS_LAMBDA_EXEC_WRAPPER: '/opt/otel-extension/internal/exec-wrapper.sh',
};
if (process.env.SLS_OTEL_LAYER_DEV_BUILD) result.DEBUG_SLS_OTEL_LAYER = '1';
return result;
Expand All @@ -359,7 +359,7 @@ Object.defineProperties(
}
const extensionVersionMetadata = await resolvePackageVersionMetadata(
'@serverless/aws-lambda-otel-extension-dist',
'^0.1'
'^0.2'
);
log.debug('target extension version: %s', extensionVersionMetadata.version);
const extensionArtifactFilename = path.resolve(
Expand Down

0 comments on commit 3ccfec1

Please sign in to comment.