从环境文件golang中读取apm环境变量

I'm using elastic apm for my go app during development i export env variable through the terminal and it's working. but now i want to deploy the app so i need to read variables from the .env file

explanation

i use go.elastic.co/apm/module/apmhttp at my app and when go.elastic.co/apm read env variables, it can't see ELASTIC_APM_SERVICE_NAME, ELASTIC_APM_SERVER_URL or ELASTIC_APM_SECRET_TOKEN that existed at my .env on my app files.