ivaosthu
704c3afc15
Revert "debug: test not destroying db in test-setup"
...
This reverts commit 9fe70f84dc
.
2020-02-20 08:34:29 +01:00
ivaosthu
96d5413b70
debug: test not destroying db in test-setup
2020-02-20 08:34:29 +01:00
Moritz Johner
d0f57a68b2
feat: add db query latency metrics ( #473 )
...
* feat: add db metrics
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
* fix: use base unit
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2020-02-20 08:34:27 +01:00
ivaosthu
ccaab0c47b
fix: LogProvider as option injected to unleash.
...
Instead of instructing users to do static calls
in to Unleash, she should instead be allwed to
specify the log provider as an option to Unleash.
This commit introduces the "getLogger" option,
a function responsible for creating a logger.
2020-02-20 08:34:24 +01:00
sveisvei
375a8b1d4f
Prettier/lint
2020-02-20 08:30:50 +01:00
ivaosthu
51442a6cc4
Remove client_strategies table
...
We can just have a strategies column in the client_applications
table. This solves all our needs, and thus avoids the need
for an extra table.
2020-02-20 08:30:42 +01:00
sveisvei
3a6e7d02ef
client applications
2020-02-20 08:30:42 +01:00
sveisvei
e55378e1c4
Better client informations from the API.
...
Impelements:
- http://unleash.host.com/api/client/seen-toggles
- http://unleash.host.com/api/metrics/feature-toggles
- http://localhost:4242/api/client/applications
- http://localhost:4242/api/client/applications/:appName
2020-02-20 08:30:40 +01:00
sveisvei
cad07cc6ec
use options obj
2020-02-20 08:30:39 +01:00
ivaosthu
14deebae1f
options to specify different db-schema
2020-02-20 08:30:38 +01:00
ivaosthu
90859701c6
remove all lerna stuff
2020-02-20 08:30:37 +01:00