Design‎ > ‎Metrics‎ > ‎

Archive

Make stats of it and delete it from time to time. If you do not keep it you run no risk of leaking it

To keep track of all the information it is best to keep it in some form of existing database system, like MySql. As things arrive it can be stored temporary and moved into the database as time permits.

Targets
When developing games it can be helpful to have the ability to run the metrics system. By sending the QA and non live data to it's own database one can seperate the two as much as possible.

Filter
A filter is used to prune selected messages from being added to a database. Often helpful for the non-live system that wish to focus on a specific area.

Validate
All data that arrive should be assumed to be corrupt and need to be verified so it has not been tampered with. Most easy is to scan all data for valid ranges and throw invalid things away.

Store
The store part writes the data into the database.
Comments