strong-xylophone-41556
06/20/2023, 4:32 PMfast-nail-55400
06/20/2023, 4:33 PMstrong-xylophone-41556
06/20/2023, 4:34 PMfast-nail-55400
06/20/2023, 4:34 PMstrong-xylophone-41556
06/20/2023, 4:37 PMstrong-xylophone-41556
06/20/2023, 4:38 PMfast-nail-55400
06/20/2023, 4:40 PMfast-nail-55400
06/20/2023, 4:41 PMopentelemetry-instrument
actually providing to the lambda?fast-nail-55400
06/20/2023, 4:42 PMHere, use theSo just add those packages to your resolve and get them to the lockfile.command to automatically detect and install OpenTelemetry python packages.opentelemetry-bootstrap
fast-nail-55400
06/20/2023, 4:43 PMfast-nail-55400
06/20/2023, 4:44 PMfast-nail-55400
06/20/2023, 4:45 PMfast-nail-55400
06/20/2023, 4:46 PMstrong-xylophone-41556
06/20/2023, 4:47 PMstrong-xylophone-41556
06/20/2023, 4:48 PMstrong-xylophone-41556
06/20/2023, 4:49 PMfast-nail-55400
06/20/2023, 4:50 PMAwsLambdaInstrumentor().instrument()
to your lambda. Is that not a fair assessment?fast-nail-55400
06/20/2023, 4:52 PMstrong-xylophone-41556
06/20/2023, 4:52 PMWhy? Seems to me you would just add an invocation ofIDK might be not Just looking at this line https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumen[…]lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py (but there are more examples) we thought there are lots of expectations to use the provided layer/sdkto your lambda. Is that not a fair assessment?AwsLambdaInstrumentor().instrument()
fast-nail-55400
06/20/2023, 4:54 PMstrong-xylophone-41556
06/20/2023, 4:54 PMstrong-xylophone-41556
06/20/2023, 4:54 PMfast-nail-55400
06/20/2023, 4:55 PMfast-nail-55400
06/20/2023, 4:55 PMfast-nail-55400
06/20/2023, 4:56 PMstrong-xylophone-41556
06/20/2023, 4:58 PMfast-nail-55400
06/20/2023, 5:00 PMIt is nice though to have a simple oneliner to instrument your lambdaI agree. But I am not sure what Pants can do per se there. This OTEL setup problem would exist regardless of the choice of build system.
strong-xylophone-41556
06/20/2023, 5:00 PMfast-nail-55400
06/20/2023, 5:01 PMfast-nail-55400
06/20/2023, 5:02 PMenough-analyst-54434
06/20/2023, 5:09 PMfaint-businessperson-86903
06/21/2023, 12:24 AM.zip
made through pants. If that’s all true, why not leave the instrumentation to the tool you use to deploy the lambda instead of the tool that builds the lambda?faint-businessperson-86903
06/21/2023, 12:24 AMstrong-xylophone-41556
06/21/2023, 9:39 AMPYTHONPATH: /var/task
PEX_EXTRA_SYS_PATH: /opt/python
We are now halfway in going the manual instrumentation route and decided this morning to just stick to it, to give us much more control the software we are running.breezy-bear-13848
07/24/2023, 12:36 AMAWS_LAMBDA_EXEC_WRAPPER
env var to do anything currentlyenough-analyst-54434
07/24/2023, 1:09 AMbreezy-bear-13848
07/24/2023, 1:10 AMenough-analyst-54434
07/24/2023, 1:16 AMenough-analyst-54434
07/24/2023, 1:16 AMenough-analyst-54434
07/24/2023, 1:17 AMbreezy-bear-13848
07/24/2023, 1:19 AMbreezy-bear-13848
07/24/2023, 3:11 AMA distribution for bcrypt could not be resolved for cp39-cp39-linux_x86_64.
Found 1 distribution for bcrypt that do not apply:
1.) The wheel tags for bcrypt 4.0.1 are cp36-abi3-manylinux_2_24_x86_64 which do not match the supported tags of cp39-cp39-linux_x86_64:
cp39-cp39-manylinux2014_x86_64
Might just try PowerTools instead of opentelemetry lolstrong-xylophone-41556
08/02/2023, 12:56 PM