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

Spring Boot runtime attach configuration via properties file #3080

Open
koddea opened this issue May 18, 2023 · 0 comments
Open

Spring Boot runtime attach configuration via properties file #3080

koddea opened this issue May 18, 2023 · 0 comments

Comments

@koddea
Copy link

koddea commented May 18, 2023

I'm using applicationinsights-runtime-attach (3.4.12) under Spring Boot.
I just want to set "applicationinsights.runtime-attach.configuration.classpath.file" property via properties (spring) file.
And according to documentation* it is unavailable. All I can do is setting this property via system property.
*Spring's application.properties or application.yaml files are not supported as as sources for Application Insights Java configuration.

Acutally this is not a common approach for spring environment and carrying things out of spring world makes configuration complicated and not readable.
So do you have any plan about carrying this configuration inside spring context?

@koddea koddea changed the title Spring Boot runtime attach config file per environemnt Spring Boot runtime attach configuration via properties file May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant