Comments (7)
Thanks @twillzy for confirming. Looked into our code and found that there seems to be something wrong with the string in the docs (or more accurately our publishing which isn't matching our other language conventions)
The nodejs ones weren't published with the ver-
string inside them. @NathanielRN @wangzlei
Can you copy from that file and try?
from aws-otel-lambda.
Thanks @anuraaga!!
This works:
aws lambda get-layer-version \
--layer-name "arn:aws:lambda:ap-southeast-2:901920570463:layer:aws-otel-nodejs-0-23-0" \
--version-number 1
from aws-otel-lambda.
Hi @twillzy - I wonder if you looked at the doc for the Java layer? The layer name for nodejs looks like arn:aws:lambda:\<region>:901920570463:layer:aws-otel-nodejs-ver-0-23-0:1
(ver-0-23-0, not ver-1-2-0). I couldn't find mention of ver-1-2-0 on the linked doc.
from aws-otel-lambda.
Hi @anuraaga, I tried version 1-2-0 but it gives the same error.
aws lambda get-layer-version \
--layer-name "arn:aws:lambda:ap-southeast-2:901920570463:layer:aws-otel-nodejs-ver-1-2-0" \
--version-number 1
from aws-otel-lambda.
@twillzy Sorry I'm still not following - that screenshot shows aws-otel-nodejs-ver-0-23-0
. Where are you getting the ver-1-2-0
string from?
from aws-otel-lambda.
@anuraaga sorry! I pasted the wrong command.
This is the one I ran.
aws lambda get-layer-version \
--layer-name "arn:aws:lambda:ap-southeast-2:901920570463:layer:aws-otel-nodejs-ver-0-23-0" \
--version-number 1
An error occurred (AccessDeniedException) when calling the GetLayerVersion operation: User: is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ap-southeast-2:901920570463:layer:aws-otel-nodejs-ver-0-23-0:1
from aws-otel-lambda.
@twillzy Sorry for the inconvenience and thank you for reporting this! You should be able to use the expected aws-otel-nodejs-ver-0-23-0
name now that we merged #121 🙂
from aws-otel-lambda.
Related Issues (20)
- Trace is broken in Lambda Java17 Runtime HOT 2
- Traces are not flushed to the server before the lambda terminates HOT 6
- Unable to access Lambda layer for Python with x86_64 architecture HOT 5
- docs: document of supported python version is old HOT 1
- 53612: bind: address already in use HOT 5
- [nodejs lambda layer] no metrics is exported to cloudwatch logs HOT 4
- Decouple processor needs to be added HOT 9
- Does not work with custom metrics HOT 4
- Request to include the awskinesisexporter HOT 3
- awsemf exporter won't create any log group, nor generating any metrics HOT 4
- Public ARN of aws-otel-nodejs-amd64 v1.18.1 is too large HOT 2
- Support for ES6 imports and exports when using aws-otel-nodejs lambda layer HOT 3
- Which version of the collector image contains https://github.com/open-telemetry/opentelemetry-lambda/pull/310? HOT 1
- ADOT Collector Dropping Exports in Lambda Environment HOT 4
- Question - ADOT Lambda Layer Nodejs - SQS AWSTraceHeader is not propogated to Lambda HOT 2
- mongodb spans not generated HOT 2
- Spans are broken if not using X-RAY
- ADOT Lambda Layer local testing HOT 1
- Unable to get tracecontext or trace-id using SDK API | NodeJs
- NodeJS Lambda Layer: X-Ray propagation not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-otel-lambda.