Module Expr Str Assign NameStore Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Num Expr Str FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpDiv BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore NameLoad CompareGt AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call AttributeLoad NameLoad attr Num BinOpMod Str NameLoad decorator_list
N/A N/A Handlers for viewing performance counter data.
 N/A __author__ matt@emailscrubbed.com (Matt Tracy) N/A json N/A os N/A time N/A logging functools partial tornado auth template web viewfinder.backend.base handler counters viewfinder.backend.base.dotdict DotDict viewfinder.backend.db metric viewfinder.backend.db.db_client RangeOperator viewfinder.backend.www.admin admin CountersHandler N/A N/A admin AdminHandler N/A N/A Handler which returns the counter admin page. get N/A N/A self N/A N/A N/A N/A N/A logging info N/A Counters: %r N/A counters counters N/A t_dict N/A N/A self PermissionsTemplateDict N/A N/A t_dict N/A page_title Viewfinder Backend Counters N/A N/A t_dict N/A data_src counters_data N/A N/A t_dict N/A default_interval 1h N/A N/A N/A self render counters.html t_dict N/A N/A N/A handler authenticated N/A N/A handler asynchronous datastore True N/A N/A admin require_permission level root N/A CountersDataHandler N/A N/A admin AdminHandler N/A N/A Handler which responds to ajax queries for performance counter data. N/A MAX_TICK_COUNT 150 N/A Desired maximum number of data points to return for a single query. get N/A N/A self N/A N/A N/A Responds to a single request for performance counter data.  Each request has two required
    parameters in the query string, 'start' and 'end', which specify the beginning and end of the
    time range to be queried.  The times should be expressed as the number of seconds since the
    unix epoch.
     _OnAggregation N/A N/A aggregator N/A N/A N/A N/A N/A self set_header Content-Type application/json; charset=UTF-8 N/A N/A N/A self write N/A N/A json dumps aggregator default _SerializeAggregateMetrics N/A N/A N/A self finish N/A N/A start_time N/A float N/A N/A self get_argument start N/A end_time N/A float N/A N/A self get_argument end N/A intervals N/A metric METRIC_INTERVALS N/A min_resolution N/A N/A end_time start_time N/A self MAX_TICK_COUNT N/A selected_interval N/A next N/A i N/A i intervals N/A N/A i length min_resolution N/A intervals N/A -1 N/A group_key N/A N/A N/A metric Metric EncodeGroupKey N/A metric DEFAULT_CLUSTER_NAME selected_interval N/A N/A N/A logging info N/A Query performance counters, range: %s - %s, resolution: %s N/A N/A N/A time ctime start_time N/A N/A time ctime end_time N/A selected_interval name N/A N/A N/A N/A metric AggregatedMetric CreateAggregateForTimespan N/A self _client group_key start_time end_time N/A counters counters _OnAggregation N/A N/A N/A handler authenticated N/A N/A handler asynchronous datastore True N/A N/A admin require_permission level root N/A _SerializeAggregateMetrics N/A N/A obj N/A N/A N/A Utility method to serialize AggregateMetric and AggregatedCounter objects to JSON.
  This method is designed to be passed to json.dumps().
   N/A N/A isinstance obj N/A metric AggregatedMetric N/A N/A N/A start_time end_time group_key machines data N/A obj start_time N/A obj end_time N/A obj group_key N/A list N/A obj machines N/A obj counter_data N/A N/A N/A isinstance obj N/A N/A metric AggregatedMetric AggregatedCounter N/A N/A N/A N/A logging info N/A description: %r N/A obj description N/A N/A description is_average machine_data cluster_total cluster_avg N/A obj description N/A obj is_average N/A obj machine_data N/A obj cluster_total N/A obj cluster_avg N/A N/A N/A N/A web HTTPError 400 N/A Expected instance of AggregatedMetric or AggregatedCounter, got %r obj N/A