OTel semantic conventions mandate certain resource attributes to present on exported spans, see telemetry sdk semantic conventions. I'm not sure why it is so easy or possible removing the mandatory defaults but it seems it is intentional according to the docs/examples
Originally opened by @arik-dig: https://github.com/micrometer-metrics/tracing/issues/294
Comment From: jonatan-ivanov
I'm not sure 3.2.x is the right place for this, maybe this should be considered as a bug and done on 3.0.x.
Comment From: wilkinsona
If we're missing some attributes that are mandatory, it sounds like a bug to me. That said, if they're really mandatory, why can they be removed and why doesn't it fail when you do so?
Comment From: jonatan-ivanov
That's my concern too, I don't think it should be possible for users to remove mandatory defaults but the docs disagree, I opened an issue for this: https://github.com/open-telemetry/opentelemetry-java/issues/5595