Ivar Conradi Østhus
4a3c136167
feat: Remove applications ( #635 )
2020-09-25 09:39:12 +02:00
Ivar Conradi Østhus
8ac4a243b2
Fix/upgrade knex ( #630 )
2020-09-18 09:05:09 +02:00
Ivar Conradi Østhus
2c90d3fbff
chore: reduce log-level for metrics
2020-04-19 20:57:54 +02:00
Ivar Conradi Østhus
d01c9d2dac
fix: use airbnb lint rules directly ( #583 )
...
This drops usage of finn-eslint rules as they are no
longer maintained.
2020-04-14 22:29:11 +02:00
ivaosthu
4ce23e4f7f
chore: move metrics-helper.js
2020-02-20 08:34:27 +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
Ivar
eb346756d2
Clean up intervals.
...
We use intervals in three places and we could probably organise them
better in the future. As long as they all do unref they do not form
any issues for us and I will just let them be as is for now.
This closes #186
2020-02-20 08:33:46 +01:00
ivaosthu
f5e9ca3bbe
Implement support for logger provider.
...
This allows the users of 'unleash-server' to programatically
change the logger implemnentation. #175
2020-02-20 08:33:33 +01:00
Ivar
915158212c
Add support for sdkVersion in client registration
2020-02-20 08:30:52 +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
a1303f4c42
only log if num of cleaned is above 0
2020-02-20 08:30:41 +01:00
sveisvei
f425597640
fix lint
2020-02-20 08:30:41 +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
ivaosthu
90859701c6
remove all lerna stuff
2020-02-20 08:30:37 +01:00