Changes from pull request.

- Change collection time to 10 seconds.
- Change array to string for prepending metrics.