-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
On a side note we might want to figure out how to deal with the options in the Spring/Spring Boot cases as well.
They are the same options but in those cases you can also configure them through application.properties
, which is the preferred configuration method in Spring/Spring Boot.
For example dsn
is specified as sentry.dsn=<something>
in application.properties
.
This is not super clear from the docs on https://docs.sentry.io/platforms/java/configuration/options/ and I suspect it might not be super obvious that you can configure that way as well.
I wonder if we should come up with a better way to surface this, maybe extend the options component to handle this case as well? Obviously doesn't need to be done here but we can consider it as a future step.
It is only specific to Spring and Spring Boot though, so maybe we enable it there and automatically derive the property name (e.g. diagnosticLevel
-> sentry.diagnostic-level
)