### Description According to the [faas semconv](https://opentelemetry.io/docs/specs/semconv/registry/attributes/faas/#faas-max-memory), faas.max_memory should be reported in bytes, not in MB. The semconv explicitly states that > On AWS Lambda, the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this information (which must be multiplied by 1,048,576). https://opentelemetry.io/docs/specs/semconv/resource/faas/#:~:text=On%20AWS%20Lambda%2C%20the%20environment%20variable%20AWS_LAMBDA_FUNCTION_MEMORY_SIZE%20provides%20this%20information%20(which%20must%20be%20multiplied%20by%201%2C048%2C576). - [In the implementation](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/c1bbaea4dc2b671fa5d1599d53f6d883aab38bdf/detectors/aws/lambda/detector.go#L68), the maxMemory must be multiplied by 1,048,576 before appending to attrs. - In the [AWS Lambda Detector README](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/bridges/otelslog/v0.10.0/detectors/aws/lambda), the faas.max_memory example value is 128, which should instead be multiplied by 1,048,576. - The [detector_test.go file](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/c1bbaea4dc2b671fa5d1599d53f6d883aab38bdf/detectors/aws/lambda/detector_test.go#L32) should also be updated like the README. Supporting documentation: > AWS_LAMBDA_FUNCTION_MEMORY_SIZE – The amount of memory available to the function in MB. https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#:~:text=AWS_LAMBDA_FUNCTION_MEMORY_SIZE%20%E2%80%93%20The%20amount%20of%20memory%20available%20to%20the%20function%20in%20MB.
Description
According to the faas semconv, faas.max_memory should be reported in bytes, not in MB.
The semconv explicitly states that
https://opentelemetry.io/docs/specs/semconv/resource/faas/#:~:text=On%20AWS%20Lambda%2C%20the%20environment%20variable%20AWS_LAMBDA_FUNCTION_MEMORY_SIZE%20provides%20this%20information%20(which%20must%20be%20multiplied%20by%201%2C048%2C576).
Supporting documentation:
https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#:~:text=AWS_LAMBDA_FUNCTION_MEMORY_SIZE%20%E2%80%93%20The%20amount%20of%20memory%20available%20to%20the%20function%20in%20MB.