I'm trying Opentelemetry Java Agent new declarative configuration, which is great because supports env substitution.
I wonder if there is a way to configure an equivalent of the property 'otel.instrumentation.methods.include'.
I tryed something like this:
instrumentation:
__java:
____methods:
______enabled: true
______include: package.Class[method1,method2]
but it seems is not having any effect
How can i know which specific java instrumentation options are configurable/supported in the new declarative way, and which are not?
Also, can you confirm that it is in no way possible to override the declarative configuration using java properties or environment variables?
And if is not possibile, why this choice?
Thanks!