[Feature] Load default config file from classpath with Enviroment variable override #12772
Unanswered
alievrenkut
asked this question in
Q&A
Replies: 2 comments
-
We don't have a plan to support this. Mostly, people is using container and k8s to deploy already. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, My mistake I was thinking only skywalking-agent.jar is needed to work but I see that we need other folders like plugins, activations, ... etc I was thinking so that we supply single jar but now I see it will not be that easy. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions