status-go/t
Shivek Khurana 1097b14a7f
🎭 📊 Anonymous Metrics V0 (#2170)
* Migrations in place, how to run them?

* Remove down migrations and touch database.go

* Database and Database Test package in place, added functions to get and store app metrics

* make generate output

* Minor bug fix on app metrics insert and select

* Add a validation layer to restrict what can be saved in the database

* Make validation more terse, throw error if schema doesn't exist, expose appmetrics service

* service updates

* Compute all errors before sending them out

* Trying to bring a closjure to appmetrics go

* Expose appmetrics via an api, skip fancy

* Address value as Jason Dawt Rawmasage to ease parsing

* Introduce a buffered chan with magic cap of 8 to minimize writes to DB. Tests for service and API. Also expose GetAppMetrics function.

* Lint issues

* Remove autoincrement, undo waku.json changes, fix error being shadowed, return nil where nil ought to be returned, get rid of buffered channel

* Bump migration number

* Fix API factory usage

* Add comment re:json.RawMessage instead of strings

* Get rid of test vars, throw save error inside the loop

* Update version

Co-authored-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2021-03-17 18:09:28 +05:30
..
benchmarks Clean topics that we don't listen to 2021-01-26 09:39:57 +01:00
config Unlock wallet and chat keys (#1346) 2019-01-18 10:01:14 +01:00
devtests remove broken tests 2020-08-17 12:53:37 +02:00
e2e Clean topics that we don't listen to 2021-01-26 09:39:57 +01:00
helpers Upgrade geth 1.8.17 plus add metrics during compilation time (#1273) 2018-11-14 08:03:58 +01:00
utils Integrate Waku service (#1759) 2020-01-08 12:12:23 +01:00
bindata.go 🎭 📊 Anonymous Metrics V0 (#2170) 2021-03-17 18:09:28 +05:30
doc.go migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00