change summaries to gauges and fix array pattern matching

@brapse