You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "alievrenkut (via GitHub)" <gi...@apache.org> on 2024/11/13 15:49:49 UTC
[I] [Feature] Load default config file from classpath with Enviroment variable override [skywalking]
alievrenkut opened a new issue, #12771:
URL: https://github.com/apache/skywalking/issues/12771
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) 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!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] Load default config file from classpath with Enviroment variable override [skywalking]
Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng closed issue #12771: [Feature] Load default config file from classpath with Enviroment variable override
URL: https://github.com/apache/skywalking/issues/12771
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org