-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Metrics tracer addAttribute map overload (#3202)
This PR adds an overload for adding multiple attributes at once. Earlier the client had to call the `addAttributes` method in a loop to add each attributes. Below overload takes a map and add all the attributes at once ``` public void addAttributes(Map<String, String> attributes) { this.attributes.putAll(attributes); }; ``` --------- Co-authored-by: Blake Li <[email protected]>
- Loading branch information
1 parent
e26bc25
commit 1a988df
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters