I try to implement profile based application in Spring Boot and this works for Spring Boot clearly. But when I try to implement it for elastic-search APM, it doesn't work.
According to here: We can describe properties like with elastic.apm prefix:
elastic.apm.service_name=my-cool-service
elastic.apm.application_packages=org.example,org.another.example
elastic.apm.server_urls=http://localhost:8200
but it doesn't work. When I call it with elasticapm.properties, it works.
Do you have any suggestion?