Right now, the @AutoConfigureObservability annotation has two boolean fields, metrics and tracing. Besides that those both fields are named badly (they control data exporting, not auto-configuration), we should think about if we can add more configuration options.
The behavior right now is:
metrics, if set tofalse, disables all other metrics exporting but enabled thesimpleexporter, meaning aSimpleMeterRegistrywill be in the context.tracing, if set tofalse, disables all reporting and propagating components for tracing.
We should think about if we should change this boolean to an enum with the values DISABLED, IN_PROCESS_ONLY, FULL.
DISABLED would switch of the auto-configuration completely, IN_PROCESS_ONLY would be the same behavior as now when set to false, and FULL would be the same behavior as now when set to true.
Comment From: mhalbritter
We've talked about that and we currently don't see the need for implementing this. If you need a feature like this, please comment on this issue!