Write instrumentation to data store (sqlite)