1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
Commit Graph

80 Commits

Author SHA1 Message Date
sveisvei
77858218cf only log if num of cleaned is above 0 2016-12-04 22:12:35 +01:00
sveisvei
7513c045c1 add single toggle metric endpoint 2016-12-04 18:08:19 +01:00
sveisvei
5bf0b36588 fix lint 2016-12-04 14:09:37 +01:00
ivaosthu
de55bbc9ef Option to disable request logging.
Because all request details are available via
prometheus there is no need to also log all requests.

This solves #164 but we should still replace log4j with something else.
2016-12-03 14:09:09 +01:00
ivaosthu
7189b0ba33 replace commander with yargs 2016-12-03 13:45:34 +01:00
ivaosthu
10a434a992 more tests 2016-12-02 17:19:59 +01:00
ivaosthu
c3b4f686eb cleanup bin 2016-12-02 16:34:05 +01:00
ivaosthu
69e2827d9a minor cleanup 2016-12-02 16:20:13 +01:00
ivaosthu
c32f29e66b Simplify metrics: We only need timings as it includes counts for free 2016-12-01 18:10:25 +01:00
ivaosthu
c75b12a7ac cleanup 2016-12-01 17:47:51 +01:00
ivaosthu
5f39115914 Server Metrics: add response time and status codes 2016-12-01 17:43:08 +01:00
ivaosthu
aeb925cb1b Some Metrics API cleanups 2016-12-01 17:15:55 +01:00
ivaosthu
cfdcf4e2e4 more tests 2016-12-01 00:47:28 +01:00
ivaosthu
b46fb7507f Server Metrics with Prometheus
Implementation use internal eventBus to enable loose counting in the app.

read more at https://prometheus.io/

Closes #98
2016-11-30 23:41:57 +01:00
ivaosthu
f312caca7c Metrics: wrte api documentation 2016-11-30 19:03:46 +01:00
sveisvei
95388996b9 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
2016-11-30 19:03:21 +01:00
ivaosthu
84ea153f2a Should not expose legacy fields to whole system 2016-11-22 22:21:10 +01:00
Ivar
2d8947c30f Added strategies validation when creating/updating toggles 2016-11-15 21:30:04 +01:00
sveisvei
7460326c5d add count to app state 2016-11-13 21:25:37 +01:00
sveisvei
c7faf46d26 fix typ0 2016-11-13 21:09:00 +01:00
sveisvei
34f6e5d809 move app and server-impl into lib folder 2016-11-13 21:07:14 +01:00
sveisvei
bb4cf30d22 add tests, rename folders to ava defaults for helpers/fixtures, remove migration og 2016-11-13 20:33:23 +01:00
sveisvei
df99a547e8 add more unit tests for metrics 2016-11-13 18:14:29 +01:00
sveisvei
a44b8987b3 use options obj 2016-11-13 15:58:14 +01:00
ivaosthu
ce5258e6a6 options to specify different db-schema 2016-11-12 11:21:40 +01:00
ivaosthu
5bdaf2cf91 Add unit-test for /health route 2016-11-11 16:24:16 +01:00
ivaosthu
4f25533230 Cleanup route/metrics a bit 2016-11-11 15:46:59 +01:00
ivaosthu
b14c766e97 Started on unit test for metrics-route 2016-11-10 22:05:50 +01:00
ivaosthu
a3afb4c4f5 upgrade log4js to 1.0.1 2016-11-10 21:51:29 +01:00
ivaosthu
9f459e600c fix tests 2016-11-10 21:16:59 +01:00
ivaosthu
0bd0924aee remove all lerna stuff 2016-11-10 15:52:49 +01:00
sveisvei
0ffb9b78b6 use lerna for multipackaging 2016-06-18 09:19:57 +02:00
Ivar
761dadabcb Remove finn config #133 2016-06-16 18:17:07 +02:00
Ivar
2d8fa7ee6b Statefull modules should be injected from top 2016-06-16 14:35:50 +02:00
Ivar
c1987a76fc Move all custom-scripts to /scripts folder 2016-06-16 14:27:23 +02:00
ivaosthu
225db218d3 Move all routes to a routes folder 2016-06-16 14:03:49 +02:00
ivaosthu
6cc28ede55 seems like knex 0.11 is more restrict about not using undefined 2016-05-06 11:11:32 +02:00
ivaosthu
65c69369ba upgrade knex 2016-05-06 09:39:37 +02:00
Anders Olsen Sandvik
f01ef69d7e #108 Add eslint-config-spt and remove jshint (#111)
* #108 Add eslint-config-spt

* #108 Ignore bundle.js file

* #108 Change eslint ignore path to a glob file

* Remove jshint and follow more of eslint rules
2016-04-24 22:41:37 +02:00
ivaosthu
3fb86a2803 upgrade node to 4.2.2. Closes #106 2015-12-01 12:05:12 +01:00
giacung
1212e6b266 Health check should verify that it can talk to the toggle-store (aka DB).
This commit fixes #103 by doing a simple select against the features table.
2015-10-02 13:54:32 +02:00
Ivar Conradi Østhus
2425a91be7 Merge pull request #92 from finn-no/improvement/reflux
Improvement/reflux
2015-03-23 17:43:50 +01:00
Jari Bakken
40b6606a42 Reduce logging in production. 2015-03-10 16:32:40 +01:00
Ivar Conradi Østhus
d495bb1829 Added poller to keep the store in sync with server. 2015-03-05 17:57:42 +01:00
andsandv
94f78797df Check if strategy exsit before deleting it 2015-02-12 11:41:30 +01:00
andsandv
0ad2bde14a #80 More renaming 2015-02-09 18:28:51 +01:00
andsandv
f35ea4355a #80 Rename event ypes 2015-02-06 15:18:54 +01:00
andsandv
3e30193ace Revert "#80 Change all event types to past tense"
This reverts commit a754fcb3a9.
Might break database so I'll send a pull request.
2015-02-06 15:17:31 +01:00
andsandv
a754fcb3a9 #80 Change all event types to past tense 2015-02-06 15:12:32 +01:00
Ivar Conradi Østhus
2a4a76aaf5 When the user enters his username in to the field
a username cookie is updated and will be available
in all subsequent requests.

THIS IS NOT AUTHENTICATION! it is not safe and is
only implemented as a first edition. It does how ever
solve the issue where we are not able to see who
canged what.
2015-02-05 13:39:00 +01:00