Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent not reading properties from elasticapm.properties #59

Closed
prafsoni opened this issue Apr 16, 2018 · 2 comments
Closed

Agent not reading properties from elasticapm.properties #59

prafsoni opened this issue Apr 16, 2018 · 2 comments

Comments

@prafsoni
Copy link

prafsoni commented Apr 16, 2018

apm-agent-java is not reading properties from the file and I get the following log message

2018-04-16 07:19:05.387 WARN 65971 --- [ost-startStop-1] c.e.apm.impl.ElasticApmTracerBuilder : Missing required value for configuration option service_name

Below is my elasticapm.properties
elastic.apm.service_name=Elastic-Apm-Demo

SpringBoot 2.0.1
JDK 1.8
APM-AGENT-JAVA 0.1.2

@felixbarny
Copy link
Member

Hi and thanks for trying out the alpha agent. When specifying configuration keys in the properties file, don't use a prefix:

service_name=Elastic-Apm-Demo

@prafsoni
Copy link
Author

Gotcha! Thanks, I believe I misunderstood the docs and added prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants