summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cramer <dcramer@gmail.com>2013-09-28 19:39:10 -0700
committerDavid Cramer <dcramer@gmail.com>2013-09-28 19:39:10 -0700
commitca5104a7592c0772fd88289423fa4343742aff6b (patch)
tree07887a91af82f56d5eab890669a9ec919924c39c
parent9cdc4e08ae4ec30eab16bf8a009d7a76acc0355e (diff)
downloadraven-ca5104a7592c0772fd88289423fa4343742aff6b.tar.gz
clarify time_spent, and note that it should be an integer
-rw-r--r--raven/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/raven/base.py b/raven/base.py
index 6c862a9..99d3362 100644
--- a/raven/base.py
+++ b/raven/base.py
@@ -443,7 +443,8 @@ class Client(object):
interfaces. Any key which contains a '.' will be
assumed to be a data interface.
:param date: the datetime of this event
- :param time_spent: a float value representing the duration of the event
+ :param time_spent: a integer value representing the duration of the
+ event (in milliseconds)
:param event_id: a 32-length unique string identifying this event
:param extra: a dictionary of additional standard metadata
:param culprit: a string representing the cause of this event