kinesis_scaling_cf.yaml [330:353]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      - Id: e1
        ReturnData: False
        Label: FillMissingDataPointsWithZeroForIncomingBytes
        Expression: FILL(m1,0)
      - Id: e2
        ReturnData: False
        Label: FillMissingDataPointsWithZeroForIncomingRecords
        Expression: FILL(m2,0)
      - Id: e3
        ReturnData: False
        Label: IncomingBytesUsageFactor
        Expression: e1/(1024*1024*60*5*s1) # e1/(1024*1024*60*${kinesis_period_mins}*s1)
      - Id: e4
        ReturnData: False
        Label: IncomingRecordsUsageFactor
        Expression: e2/(1000*60*5*s1) # e2/(1000*60*${kinesis_period_mins}*s1)
      - Id: e5
        ReturnData: False
        Label: IteratorAgeAdjustedFactor
        Expression: !Sub (FILL(m3,0)/1000/60)*(${KinesisScaleDownThreshold}/s2) # We want to block scaledowns when IterAge is > 30 mins, multiply IterAge so 30 mins = <alarmThreshold>
      - Id: e6
        ReturnData: True
        Label: MaxIncomingUsageFactor
        Expression: MAX([e3,e4,e5]) # Take the highest usage factor between bytes/sec, records/sec, and adjusted iterator age
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



kinesis_scaling_cf.yaml [492:515]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      - Id: e1
        ReturnData: False
        Label: FillMissingDataPointsWithZeroForIncomingBytes
        Expression: FILL(m1,0)
      - Id: e2
        ReturnData: False
        Label: FillMissingDataPointsWithZeroForIncomingRecords
        Expression: FILL(m2,0)
      - Id: e3
        ReturnData: False
        Label: IncomingBytesUsageFactor
        Expression: e1/(1024*1024*60*5*s1) # e1/(1024*1024*60*${kinesis_period_mins}*s1)
      - Id: e4
        ReturnData: False
        Label: IncomingRecordsUsageFactor
        Expression: e2/(1000*60*5*s1) # e2/(1000*60*${kinesis_period_mins}*s1)
      - Id: e5
        ReturnData: False
        Label: IteratorAgeAdjustedFactor
        Expression: !Sub (FILL(m3,0)/1000/60)*(${KinesisScaleDownThreshold}/s2) # We want to block scaledowns when IterAge is > 30 mins, multiply IterAge so 30 mins = <alarmThreshold>
      - Id: e6
        ReturnData: True
        Label: MaxIncomingUsageFactor
        Expression: MAX([e3,e4,e5]) # Take the highest usage factor between bytes/sec, records/sec, and adjusted iterator age
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



