code: def scaleToSeconds(requestContext, seriesList, seconds):
      
  
      for series in seriesList:
          series.name = "scaleToSeconds(%s,%d)" % (series.name, seconds)
          series.pathExpression = series.name
          factor = seconds * 1.0 / series.step
          for i, value in enumerate(series):
              series[i] = safeMul(value, factor)
      return seriesList
docs: 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