Update test mocks to match the new OpenTelemetry v2.x API:
- Replace Resource class with resourceFromAttributes function
- Replace SemanticResourceAttributes with ATTR_SERVICE_NAME
- Update LoggerProvider mock to accept processors in constructor
This fixes the test failures that were blocking CI checks.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Replace deprecated Resource constructor with resourceFromAttributes()
- Replace SemanticResourceAttributes with ATTR_SERVICE_NAME
- Pass log processors via LoggerProvider constructor instead of addLogRecordProcessor()
Fixes TypeError: Resource is not a constructor
Fixes TypeError: addLogRecordProcessor is not a function
Related to @opentelemetry/resources@2.5.0 and @opentelemetry/sdk-logs@0.211.0 API changes