Skip to content

Commit

Permalink
Use newer js-contrib and propagate the payload limit config
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalSumislawski committed Oct 16, 2023
1 parent 96412ce commit 1ab6592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
path: ${{ env.OPENTELEMETRY_JS_CONTRIB_PATH }}
repository: coralogix/opentelemetry-js-contrib
ref: refs/heads/coralogix-autoinstrumentation
ref: refs/heads/feature/CDS-707-limit-api-gateway-trigger-body-attribute-size
ssh-key: ${{ secrets.OPENTELEMETRY_CI_GITHUB_KEY }}
- uses: actions/checkout@v3
with:
Expand Down
1 change: 1 addition & 0 deletions nodejs/packages/layer/src/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ const lambdaAutoInstrumentConfig: AwsLambdaInstrumentationConfig = {
}
return otelContext.active();
},
payloadSizeLimit: OTEL_PAYLOAD_SIZE_LIMIT,
};

const instrumentations = [
Expand Down

0 comments on commit 1ab6592

Please sign in to comment.