-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown type awsxray
for exporter
#1367
Comments
So you're trying to export from the collector to xray? CC @rapphil |
Exactly, simply tried the example config that includes exporting to xray (after changing |
I think this is a duplicate of #99 |
Probably not, since |
As far as I can tell, the xray exporter isn't included in our collector layer build. Perhaps those docs were originally written for the AWS distro layer. @rapphil WDYT? |
When I try to use it, I get the message that the collector failed to start with a 403 error, not a helpful error message like in this issue. Why could that be? I'm using Nodejs, though |
The error message was not consistent for me either, some Lambda initialization attempts resulted in a 403 error like yours, and others with the error message I quoted here. I assumed there's some race condition and that the failure to recognize an |
Is it not included for licensing/FOSS purity reasons, or is there some issue with the exporter? Is there another build that includes everything in opentelemetry-collector-contrib or should we build our own if we want it? Looks like AWS Distro layer also doesn't include everything, any idea why? |
I wasn't involved in the project back then, but I think the collector contrib artifact is quite large and I assume there's desire to keep the layer small to reduce cold start delays and size limits. |
I believe I have also come across this issue, did you have any luck on finding a resolution? |
We built the layer ourselves. And later moved away from X-Ray so it was no longer required. |
Describe the bug
Trying to use
awsxray
exporter as in the example here fails with:Steps to reproduce
Use the latest collector layer and example config as described in the Lambda Collector Config page
What did you expect to see?
Traces exported to X-Ray
What did you see instead?
An error during Lambda initialization:
What version of collector/language SDK version did you use?
layer-collector/0.7.0
opentelemetry-collector v0.101.0
opentelemetry-collector-contrib v0.101.0
What language layer did you use?
Python layer 0.7.0
Additional context
The example config also doesn't work unless you change
debug
tologging
. It says that's required prior to v0.86.0 and this theoretically should be v0.101.0. Am I missing something trivial here?The text was updated successfully, but these errors were encountered: