grr/server/grr_response_server/db.py
def ReadStatsStoreEntries(self,
                            process_id_prefix,
                            metric_name,
                            time_range=None,
                            max_results=0):
    """Reads StatsStoreEntries matching given criteria from the DB.

    Args:
      process_id_prefix: String prefix used to filter process ids whose data
        should be included in the results.
      metric_name: Name of the stats metric for which to return past values.
      time_range: An optional tuple containing two RDFDateTime objects that
        represent the range of timestamps to filter for (if provided, only
        StatsStoreEntries in the range will be included).
      max_results: If > 0, indicates the maximum number of results to return.

    Returns:
      A sequence of StatsStoreEntries matching all the provided criteria.
    """
Reads StatsStoreEntries matching given criteria from the DB.

    Args:
      process_id_prefix: String prefix used to filter process ids whose data
        should be included in the results.
      metric_name: Name of the stats metric for which to return past values.
      time_range: An optional tuple containing two RDFDateTime objects that
        represent the range of timestamps to filter for (if provided, only
        StatsStoreEntries in the range will be included).
      max_results: If > 0, indicates the maximum number of results to return.

    Returns:
      A sequence of StatsStoreEntries matching all the provided criteria.
    
Reads StatsStoreEntries matching given criteria from the DB.
Reads StatsStoreEntries matching given criteria from the DB .
def ReadStatsStoreEntries(self,
                            process_id_prefix,
                            metric_name,
                            time_range=None,
                            max_results=0):
def ReadStatsStoreEntries ( self , process_id_prefix , metric_name , time_range = None , max_results = 0 ) :
Reads StatsStoreEntries matching given criteria from the DB.
Reads StatsStoreEntries matching given criteria from the DB .
"""Reads StatsStoreEntries matching given criteria from the DB.

    Args:
      process_id_prefix: String prefix used to filter process ids whose data
        should be included in the results.
      metric_name: Name of the stats metric for which to return past values.
      time_range: An optional tuple containing two RDFDateTime objects that
        represent the range of timestamps to filter for (if provided, only
        StatsStoreEntries in the range will be included).
      max_results: If > 0, indicates the maximum number of results to return.

    Returns:
      A sequence of StatsStoreEntries matching all the provided criteria.
    """
A sequence of StatsStoreEntries matching all the provided criteria.
A sequence of StatsStoreEntries matching all the provided criteria .
self
process_id_prefix
String prefix used to filter process ids whose data
should be included in the results.
String prefix used to filter process ids whose data should be included in the results .
metric_name
Name of the stats metric for which to return past values.
Name of the stats metric for which to return past values .
time_range
An optional tuple containing two RDFDateTime objects that
represent the range of timestamps to filter for (if provided, only
StatsStoreEntries in the range will be included).
An optional tuple containing two RDFDateTime objects that represent the range of timestamps to filter for ( if provided only StatsStoreEntries in the range will be included ) .
max_results
If > 0, indicates the maximum number of results to return.
If > 0 indicates the maximum number of results to return .