Commit Graph

315 Commits

Author SHA1 Message Date
Philipp Mieden
eca5e3b4f0 fixed loops for mem profiling 2019-05-21 17:29:16 +02:00
Frederik Löffert
f7aea048d3 lock update requests 2019-05-21 16:06:49 +02:00
Philipp Mieden
1449d6902c server cleanup 2019-05-21 15:01:13 +02:00
Philipp Mieden
18897d2e32 updated deps 2019-05-21 12:36:06 +02:00
Philipp Mieden
0827eb9b4a added makefile section comments 2019-05-21 12:35:56 +02:00
Philipp Mieden
63640b24b2 updated makefile targets for profiling 2019-05-21 12:11:54 +02:00
Philipp Mieden
3985784579 added pprof debug server 2019-05-21 12:11:39 +02:00
Philipp Mieden
55fd63b82d added memory profiling flag for dumping heap periodically 2019-05-21 12:11:16 +02:00
Philipp Mieden
295cdf66fc flag naming convention 2019-05-21 11:45:47 +02:00
Philipp Mieden
03d5b36706 repo history code cleanup 2019-05-21 11:43:28 +02:00
Philipp Mieden
65b6b2341a added free-os-mem flag to contentserver 2019-05-21 11:43:06 +02:00
Philipp Mieden
0735b5ad18 code cleanup, grouping declarations 2019-05-21 11:17:03 +02:00
Philipp Mieden
f20402ef5f git ignore profiling files 2019-05-21 11:10:33 +02:00
Philipp Mieden
dc047baf32 repo code cleanup 2019-05-21 11:10:05 +02:00
Philipp Mieden
f0df9a6322 added profile-test target to makefile 2019-05-21 11:09:51 +02:00
Philipp Mieden
5e44495adc replaced encoding/json with jsoniter high performance pkg 2019-05-21 10:59:54 +02:00
Philipp Mieden
e64b07f6c6 fixed repo test assertion messages, added benchmark for loading test repo 2019-05-21 10:51:21 +02:00
Philipp Mieden
b713a41cf6 updated gitignore to ignore local var dir 2019-05-21 10:50:47 +02:00
Philipp Mieden
5ee042bcd4 handle unchecked errors 2019-05-21 10:12:05 +02:00
Philipp Mieden
54ee995295 commented out unused symbols 2019-05-21 10:07:13 +02:00
Philipp Mieden
82733d4b25 fix: call of Unmarshal passed a non-pointer as second argument 2019-05-21 10:06:21 +02:00
Philipp Mieden
dd902fe717 removed redundant return statement 2019-05-21 10:05:24 +02:00
Philipp Mieden
d2e0af8aca using fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) 2019-05-21 10:05:01 +02:00
Philipp Mieden
a267dbe1ec history_test cleanup and formatting 2019-05-21 10:04:09 +02:00
Philipp Mieden
bdb694b0ff simplified byte equality comparison 2019-05-21 10:03:31 +02:00
Philipp Mieden
9d94c09735 grouped variable declarations 2019-05-21 09:56:38 +02:00
Philipp Mieden
7f9b32162e used a simple channel send/receive instead of with a single case 2019-05-21 09:55:55 +02:00
Philipp Mieden
284ee99690 omitted comparison to bool constant 2019-05-21 09:55:36 +02:00
Philipp Mieden
73b9b71dd3 removed unused error assignments, code cleanup 2019-05-21 09:52:59 +02:00
Philipp Mieden
8e574d0675 merged metrics branch 2019-05-21 09:49:48 +02:00
Philipp Mieden
757c310f8d handlerequest cleanup 2019-05-21 09:36:40 +02:00
Philipp Mieden
42adb6a25a simplified loop over channel inputs 2019-05-21 09:19:25 +02:00
Frederik Löffert
5beb586365 Merge branch 'develop' of github.com:foomo/contentserver into feature/metrics 2019-05-14 16:43:47 +02:00
Frederik Löffert
79244f8ab3 add "dep" command to makefile
hide vendor in gitignore
2019-05-14 16:43:19 +02:00
Frederik Löffert
b7f10ed673 add prometheus request metrics 2019-05-14 16:40:25 +02:00
Stefan Martinov
ff28d6670f feat: add healthz handler to contentserver 2019-05-08 18:21:20 +02:00
Stefan Martinov
d0e9a2966a chore: add correct expose file and better makefile 2019-05-08 18:04:58 +02:00
Stefan Martinov
6b891e7f0f chore: update modules & testing 2019-05-08 17:57:08 +02:00
Stefan Martinov
3eac4bd1b7 feat: add prometheus handler and go-modules 2019-05-08 17:51:51 +02:00
Jan Halfar
8f7c23ff4a added DataFields to content request 2018-11-28 11:56:11 +01:00
Jan Halfar
3479cd7eaf 1.4.1 no more default socket server 2018-11-27 18:01:27 +01:00
Jan Halfar
a120c09c82 skipping historic go versions 2018-11-27 13:45:23 +01:00
Jan Halfar
f96a5669a8 made webserver path configurable 2018-11-27 13:28:20 +01:00
Jan Halfar
37147120e2 safer access to repo.Directory in _updateDimension 2018-11-27 12:56:38 +01:00
Jan Halfar
2c5492ebe4 added webserver 2018-11-27 12:53:12 +01:00
Jan Halfar
bbded7c9db better error with empty dimension, in validateContentRequest 2018-11-27 12:52:16 +01:00
Jan Halfar
6eb33c6978 added level in logging 2018-11-27 12:51:19 +01:00
Jan Halfar
ef3ef2bc50 new socket client with connection pool and added http client 2018-11-27 12:50:10 +01:00
Jan Halfar
1a64987d8d added tag 2018-11-27 12:49:10 +01:00
Jan Halfar
7decb6b56f version bump 2018-11-27 12:49:02 +01:00