parameters: (args)
docstring: Returns the usage metrics for routes
  
      Args:
          args: dict The parsed args from the request
          args.path: string The route path of the query
          args.start_time: date The start of the query
          args.query_string: optional string The query string to filter on
          args.limit: number The max number of responses to return
          args.bucket_size: string  date_trunc operation to aggregate timestamps by
  
      Returns:
          Array of dictionaries with the route, timestamp, count, and unique_count
docstring_summary: Returns the usage metrics for routes
docstring_tokens: Returns the usage metrics for routes
function: def get_route_metrics(args):
      """
      Returns the usage metrics for routes
  
      Args:
          args: dict The parsed args from the request
          args.path: string The route path of the query
          args.start_time: date The start of the query
          args.query_string: optional string The query string to filter on
          args.limit: number The max number of responses to return
          args.bucket_size: string  date_trunc operation to aggregate timestamps by
  
      Returns:
          Array of dictionaries with the route, timestamp, count, and unique_count
      """
      db = db_session.get_db_read_replica()
      with db.scoped_session() as session:
          return _get_route_metrics(session, args)
function_tokens: def get_route_metrics ( args ) : db = db_session . get_db_read_replica ( ) with db . scoped_session ( ) as session : return _get_route_metrics ( session , args )