The agent installer used in lambda is invoked similar to the following way:
XRayAgentInstaller.installInLambda("servicename=MyLambdaFunction")
In Lambda, the segment is generated on behalf of the function code by the container. The function code retrieves this segment through a concept called a Facade Segment, an immutable segment. Because the service name is never even used, the lambda installer should by default not need a service name parameter.
The agent installer used in lambda is invoked similar to the following way:
XRayAgentInstaller.installInLambda("servicename=MyLambdaFunction")
In Lambda, the segment is generated on behalf of the function code by the container. The function code retrieves this segment through a concept called a Facade Segment, an immutable segment. Because the service name is never even used, the lambda installer should by default not need a service name parameter.