Migrate from SignalFx Lambda wrappers to Splunk OpenTelemetry Lambda Layer 🔗
The SignalFx Lambda wrappers are deprecated. Follow these steps to migrate from the SignalFx Lambda wrappers to the Splunk OpenTelemetry Lambda Layer. For more information, see Instrument AWS Lambda functions for Splunk Observability Cloud.
Remove the SignalFx Lambda wrapper from your function 🔗
Before installing the Splunk OpenTelemetry Lambda Layer, remove any previous instrumentation, including the SignalFx Lambda wrapper.
If you installed the SignalFx wrapper as a layer, remove it from the console.
If you referenced the wrapper directly, remove the wrapper from the build.
For more information on Lambda layers, see the official AWS documentation at https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html.
Replace the handler for your function 🔗
The Splunk OpenTelemetry Lambda Layer does not require setting a custom handler in Runtime settings.
To replace the SignalFx handler with your function handler, follow these steps:
In the AWS Lambda console, open the function that you are instrumenting.
Navigate to Code, then Runtime settings.
Select Edit.
Replace the SignalFx handler with the handler of your function.
Select Save.
Install the Splunk OpenTelemetry Lambda Layer 🔗
Once you’ve removed the SignalFx Lambda wrapper from your function, install the new Splunk OpenTelemetry Lambda Layer. See Install the AWS Lambda layer.
Update the environment variables 🔗
The following table shows SignalFx Lambda wrapper environment variables and their Splunk OpenTelemetry Lambda Layer equivalents:
SignalFx environment variable |
OpenTelemetry environment variable |
---|---|
|
|
|
You can set either the |
|
You can set either the |
|
|
|
|
|
|
|
|