Reputation: 1
So just for the context I have a web ap I needed to performance test. Initially it was easy, I created a instrumentation file and a collector that I set up with following collector documentation. The collector was configured to use sentry exporter and export data to sentry. It worked without any issues.
Now I had to refactor the backend to consist of AWS lambda function. And all of the Opentelemetry documented methods dont work. In some cases data is just not being sent at all. In some cases only small percent of the data is sent.
I need to get a somewhat detailed trace of the request coming in and gong trough the lambda functions.
What did I try:
exporters: sentry: dsn: <sentry.dns>
produced this: { "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])" },
Defining instrumentation wrapper for each lambda with such setup (View image)
Result: The AwsInstrumentation does absolutely nothing, no instrumentation whatsoever. Only instrumentation is from the lambda instrumentation, which instruments lambda with a single span.
When attempting to get at least single span per lambda, by creating a wrapperfile for the next lambda in line with the same configuration for otel, no data from the 'database-lambda' whatsoever. Only the firs lambda called gets its data collected.
Upvotes: 0
Views: 75