parameters: (app_name, args)
docstring: Returns the usage metrics for a specified app_name
  
      Args:
          app_name: string The name of the app to query for metrics
          args: dict The parsed args from the request
          args.start_time: date The date to start the query from
          args.limit: number The max number of metrics to return
          args.bucket_size: string A date_trunc operation to aggregate timestamps by
  
      Returns:
          Array of dictionaries with the timestamp, count, and unique_count
docstring_summary: Returns the usage metrics for a specified app_name
docstring_tokens: Returns the usage metrics for a specified app_name
function: def get_app_name_metrics(app_name, args):
      """
      Returns the usage metrics for a specified app_name
  
      Args:
          app_name: string The name of the app to query for metrics
          args: dict The parsed args from the request
          args.start_time: date The date to start the query from
          args.limit: number The max number of metrics to return
          args.bucket_size: string A date_trunc operation to aggregate timestamps by
  
      Returns:
          Array of dictionaries with the timestamp, count, and unique_count
      """
      db = db_session.get_db_read_replica()
      with db.scoped_session() as session:
          return _get_app_name_metrics(session, app_name, args)
function_tokens: def get_app_name_metrics ( app_name , args ) : db = db_session . get_db_read_replica ( ) with db . scoped_session ( ) as session : return _get_app_name_metrics ( session , app_name , args )