DataDog / dd-sdk-android

Datadog SDK for Android (Compatible with Kotlin and Java)
Apache License 2.0
141 stars 57 forks source link

RUM-3589: : Add AddAttributes and RemoveAttributes #2030

Closed jonathanmos closed 2 months ago

jonathanmos commented 2 months ago

What does this PR do?

• Adds the new apis addAttributes/removeAttributes, in order to allow adding/removing multiple attributes while reducing the number of UpdateView events.

Motivation

Fixes an issue where performing addAttribute/removeAttribute is not reflected in the RUM dashboard until after the next event. This change consists of 3 parts split into 3 separate prs.

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)