Skip to content

Commit

Permalink
fixed sample flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mdebarros committed Sep 6, 2019
1 parent 0e5551b commit 9cb658d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/observables/elastic-logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const addElasticsearchMetaData = (value) => {
'result': (value.metadata.event.state.status === 'success') ? 'success' : 'error',
'name': value.metadata.trace.service,
'id': value.metadata.trace.spanId,
'sampled': !!value.metadata.trace.sampled
'sampled': !value.metadata.trace.sampled
}
}
return {...value, ...elasticsearchMetaData}
Expand Down

0 comments on commit 9cb658d

Please sign in to comment.