![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | Match |
Static Public Attributes | |
url = None | |
starttime = None | |
endtime = None | |
latency_lower = None | |
latency_upper = None | |
Returns a subset of records that meet filtering crtieria. While navigating the tool, developers may wish to focus on a certain subset of records that meet desired filters. This class is used to specify the desired filtering criteria. Currently, the supported filters are (i) by time of recording; and (ii) request latency.
def google.appengine.ext.analytics.main.Filter.__init__ | ( | self, | |
url = None , |
|||
starttime = None , |
|||
endtime = None , |
|||
latency_lower = None , |
|||
latency_upper = None |
|||
) |
Set filtering criteria. Args: url: consider only requests corresponding to this URL. starttime: consider only records recorded with timestamp (in seconds) higher than this value. Timestamps are measured from start of recording of entire data source. endtime: consider only records recorded with timestamp (in seconds) lower than this value. latency_lower: consider only requests with latency (in milliseconds) greater than this value latency_upper: consider only requests with latency lower than this value
def google.appengine.ext.analytics.main.Filter.Match | ( | self, | |
url, | |||
timestamp, | |||
latency | |||
) |
Check if record meets filtering criteria. Args: url: path of that http request (after normalization) timestamp: timestamp of record latency: latency of request that record pertains to. Returns: Boolean which is True if the record matches filtering criteria and false otherwise.