[X] I had searched in the issues and found no similar feature requirement.
Description
Load default config file from classpath so that we can override it with environment variables.
For example it is not possible to start agent while we already have SW_AGENT_NAME env property.
This only works if we put config file next to jar file. It should work without any config file.
Use case
I want to only write -javaagent:/path/to/skywalking-agent.jar and agent picks configuration from environment variables.
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
[X] Yes I am willing to submit a pull request on my own!
Search before asking
Description
Load default config file from classpath so that we can override it with environment variables. For example it is not possible to start agent while we already have SW_AGENT_NAME env property. This only works if we put config file next to jar file. It should work without any config file.
Use case
I want to only write
-javaagent:/path/to/skywalking-agent.jar
and agent picks configuration from environment variables.Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct