parameters: (requestContext, seriesList, seconds)
return_statement: return seriesList
docstring: Takes one metric or a wildcard seriesList and returns "value per seconds" where
    seconds is a last argument to this functions.
  
    Useful in conjunction with derivative or integral function if you want
    to normalize its result to a known resolution for arbitrary retentions
docstring_summary: Takes one metric or a wildcard seriesList and returns "value per seconds" where
    seconds is a last argument to this functions.
docstring_tokens: Takes one metric or a wildcard seriesList and returns value per seconds where seconds is a last argument to this functions .
function: def scaleToSeconds(requestContext, seriesList, seconds):
    """
    Takes one metric or a wildcard seriesList and returns "value per seconds" where
    seconds is a last argument to this functions.
  
    Useful in conjunction with derivative or integral function if you want
    to normalize its result to a known resolution for arbitrary retentions
    """
  
    for series in seriesList:
      series.tags['scaleToSeconds'] = seconds
      series.name = "scaleToSeconds(%s,%d)" % (series.name,seconds)
      series.pathExpression = series.name
      factor = seconds / series.step
  
      for i,value in enumerate(series):
        if value is not None:
          # Division long by float cause OverflowError
          try:
            series[i] = round(value * factor, 6)
          except OverflowError:
            series[i] = (value // series.step) * seconds
  
    return seriesList
function_tokens: def scaleToSeconds ( requestContext , seriesList , seconds ) : for series in seriesList : series . tags [ 'scaleToSeconds' ] = seconds series . name = "scaleToSeconds(%s,%d)" % ( series . name , seconds ) series . pathExpression = series . name factor = seconds / series . step for i , value in enumerate ( series ) : if value is not None : # Division long by float cause OverflowError try : series [ i ] = round ( value * factor , 6 ) except OverflowError : series [ i ] = ( value // series . step ) * seconds return seriesList