Skip to content

Commit

Permalink
Fix some typos in the README (#323)
Browse files Browse the repository at this point in the history
* Fix a grammar typo
* Fix a misspelling of the word 'metadata'
  • Loading branch information
DominicKramer authored Nov 30, 2016
1 parent b89dda8 commit 00a9ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ Once your work is complete, you can end a child span with `agent.endSpan`. You c

### Changing trace properties

It is possible to rename and add labels to current trace. This can be use to give it a more meaningful name or add additional metata.
It is possible to rename and add labels to current trace. This can be used to give it a more meaningful name or add additional metadata.

By default we use the name of the express (or hapi/restify) route as the transaction name, but it can be change using `agent.setTransactionName`:
By default we use the name of the express (or hapi/restify) route as the transaction name, but it can be changed using `agent.setTransactionName`:

```javascript
agent.setTransactionName('new name');
Expand Down

0 comments on commit 00a9ec7

Please sign in to comment.