status-go/services
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
..
accounts Added Identity Images to multi-accounts GetAccounts() 2020-12-17 14:10:00 +01:00
appmetrics 🎭 📊 Anonymous Metrics V0 (#2170) 2021-03-17 18:09:28 +05:30
browsers feat: add bookmarks table for the browser bookmarks 2020-11-16 13:31:34 -05:00
ext Request/Decline access to communities 2021-02-26 15:35:43 +01:00
local-notifications [wallet] Store account's last known balance and nonce 2021-03-15 16:18:12 +02:00
mailservers Clean topics that we don't listen to 2021-01-26 09:39:57 +01:00
nimbus Nimbus node support 2020-01-20 13:15:17 +01:00
nodebridge Initialize protocol when waku active (#1832) 2020-02-17 15:38:59 +01:00
peer add wallet favourites 2020-09-21 10:48:00 +02:00
permissions fix: close resultsets so we don't leak them (#1809) 2020-05-14 11:51:32 +01:00
personal Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
rpcfilters Nimbus node support 2020-01-20 13:15:17 +01:00
rpcstats [wallet] RPC usage stats 2021-03-10 13:32:46 +02:00
shhext Clean topics that we don't listen to 2021-01-26 09:39:57 +01:00
status Fix tests and lint 2020-12-17 14:10:00 +01:00
subscriptions Avoid passing node to subscriptions service 2020-01-20 13:15:17 +01:00
typeddata Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
wakuext Fix tests and lint 2020-12-17 14:10:00 +01:00
wallet [wallet] Nonce range cache 2021-03-16 16:20:11 +02:00
shhext_wakuext_test.go Clean topics that we don't listen to 2021-01-26 09:39:57 +01:00
utils.go New debug_postSync endpoint (#1046) 2018-06-25 15:27:17 +02:00