Closed lmolkova closed 5 days ago
API change check
API changes are not detected in this pull request.
we use these from the Java agent when bridging from the "classic SDK", e.g. https://github.com/microsoft/ApplicationInsights-Java/blob/d1f7caf742d4f191e3960b8f3b2efcbc197a310b/agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/classicsdk/BytecodeUtilImpl.java#L414-L415
thanks @trask, good to know
We're migrating libraries to azure-json (homegrown json library). Removing unused models would simplify it a bit.
The PR removes
AvailabilityData
,PageViewData
,PageViewPerfData
(and their builders) which are not expected (?) to be ever reported by Java application. ApparentlyEventData
is not used as well.These are also never mentioned in https://github.com/Azure/azure-sdk-for-java/blob/0f3357f229887fea4644305ef3a68080803fa91d/sdk/monitor/azure-monitor-opentelemetry-exporter/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/models/MonitorDomain.java#L29C14-L29C28
And it's not clear if deserialization would even work.
Wonder if there are any hidden dangers of removing these
/cc @trask @heyams @alzimmermsft