Skip to content
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 exporters type - what types are supported? #99

Closed
deki opened this issue Jun 2, 2021 · 3 comments
Closed

Unknown exporters type - what types are supported? #99

deki opened this issue Jun 2, 2021 · 3 comments

Comments

@deki
Copy link

deki commented Jun 2, 2021

Hi,

I followed these steps https://github.com/open-telemetry/opentelemetry-lambda/blob/main/collector/README.md to publish the OpenTelemetry Collector Lambda layer from scratch.

However I noticed https://github.com/open-telemetry/opentelemetry-lambda/blob/main/collector/config.yaml is missing X-Ray so I defined a custom config (as described here: https://aws-otel.github.io/docs/getting-started/x-ray#configuring-the-aws-x-ray-exporter), looks similar to this https://github.com/aws-observability/aws-otel-lambda/blob/main/adot/collector/config.yaml in the end.

However it doesn't work:

info	service/application.go:277	Starting otelcol...	{"Version": "v0.1.0", "NumCPU": 2}
info	service/application.go:185	Setting up own telemetry...
info	service/application.go:220	Loading configuration...
Error: cannot load configuration: unknown exporters type "awsxray" for awsxray

If I switch from awsxray to jaeger, I get Error: cannot load configuration: unknown exporters type "jaeger" for jaeger. So I wonder what am I missing? What exporters are actually supported by the Lambda layer collector?

@wangzlei
Copy link
Contributor

wangzlei commented Jun 4, 2021

Right now Lambda collector extension supports limit number of collector component due to the reason in design proposal 2.2 and 2.3

If you want XRay support please use AWS downstream repo https://github.com/aws-observability/aws-otel-lambda, it has ready-to-use Lambda layer, refer doc https://aws-otel.github.io/docs/getting-started/lambda

@wangzlei
Copy link
Contributor

wangzlei commented Jun 4, 2021

Create a requirement to build custom collector layer on demand
#100

@deki
Copy link
Author

deki commented Jun 4, 2021

Thanks @wangzlei I noticed the ready-to-use layers, however I've created a sample for PHP (see brefphp/bref#921), so the existing layers are not a good fit. #100 would definitely solve it, therefore closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants