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

Lambda Collector Configuration #4574

Open
DockerIsBAd opened this issue May 31, 2024 · 4 comments
Open

Lambda Collector Configuration #4574

DockerIsBAd opened this issue May 31, 2024 · 4 comments
Labels

Comments

@DockerIsBAd
Copy link

DockerIsBAd commented May 31, 2024

It is unclear throughout the documentation about what types of exporters are supported. Are they the same as a normal dockerized collector? Because all you mention is 'Without an environment variable being set for your exporters the default configuration only supports emitting data using the debug exporter.' Well I am using sentry as exporter and when testing my lambda I get the error of:

failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:\n\n* error decoding 'exporters': unknown type: "sentry" for id: "sentry" (valid values: [prometheusremotewrite logging otlp otlphttp]); Post "http://127.0.0.1:9001/2020-01-01/extension/init/error\": net/http: invalid header field value for "Lambda-Extension-Function-Error-Type"",
"errorCauses": [
{
"error": "failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:\n\n* error decoding 'exporters': unknown type: "sentry" for id: "sentry" (valid values: [prometheusremotewrite logging otlp otlphttp])"
},
{
"error": "Post "http://127.0.0.1:9001/2020-01-01/extension/init/error": net/http: invalid header field value for "Lambda-Extension-Function-Error-Type""
}
]
}

So the error message and the documentation seem to contradict themselves.

@theletterf
Copy link
Member

@open-telemetry/lambda-extension-approvers WDYT?

@svrnm svrnm added the sig:faas label Jun 3, 2024
@DockerIsBAd
Copy link
Author

To clarify - This is about a Lambda collector layer I attempted to set-up.

@svrnm
Copy link
Member

svrnm commented Jun 4, 2024

hey @DockerIsBAd if you are registered with CNCF slack (via https://slack.cncf.io/), you can join #otel-faas and ask the experts there.

@tylerbenson
Copy link
Member

I assume the problem is that sentry isn't supported by the collector lambda layer. Perhaps you could seek support from Sentry on how to handle this scenario?

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

No branches or pull requests

4 participants