Skip to content

Commit

Permalink
Update quickstart (#1356)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Jun 18, 2020
1 parent 46f0c5f commit b2dcebf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ span.addEvent("End");
```

```java
Map<String, AttributeValue> eventAttributes = new HashMap<>();
eventAttributes.put("key", AttributeValue.stringAttributeValue("value"));
eventAttributes.put("result", AttributeValue.longAttributeValue(0L));
Attributes eventAttributes = Attributes.of(
"key", AttributeValue.stringAttributeValue("value"),
"result", AttributeValue.longAttributeValue(0L));

span.addEvent("End Computation", eventAttributes);
```
Expand Down

0 comments on commit b2dcebf

Please sign in to comment.