open-telemetry / opentelemetry-js

OpenTelemetry JavaScript Client
https://opentelemetry.io
Apache License 2.0
2.75k stars 808 forks source link

refactor(browser-detector): replace `ResourceAtrributes` with `Attributes` #5004

Closed david-luna closed 1 month ago

david-luna commented 1 month ago

Which problem is this PR solving?

Replaces ResourceAttributes with Attributes

Refs #4175

Short description of the changes

Replace the interfaces internally. The changes are not affecting the public API of the detector so it's not marked as breaking change.

How Has This Been Tested?

Ran the test suite for the detector