Commit Graph

70 Commits

Author SHA1 Message Date
6f6ce23b37 accurarcy edit in readme drawing 2022-11-12 15:00:13 +02:00
1cb1bdfbd8 continue work on vars 2022-11-11 21:12:31 +02:00
d08f314cf1 retry within mongo sender 2022-11-11 17:52:30 +02:00
a50c1446c3 add project structure ascii 2022-11-11 17:13:19 +02:00
0b3d382742 work on flags 2022-11-11 17:09:12 +02:00
2ded62f641 rename watcher.go to app.go 2022-11-11 12:17:36 +02:00
4573618440 watcher: mv utils to util.go 2022-11-11 12:17:17 +02:00
bc936b09a5 k8s: remove NoExecute 2022-11-11 12:15:41 +02:00
723a678905 change metrics port to 8000 2022-11-10 00:03:59 +02:00
f52cf4595a yet an another namespace swap 2022-11-09 23:57:47 +02:00
2635ffb518 update deps 2022-11-09 23:45:58 +02:00
b2db664d31 change namespace and fix name 2022-11-09 23:39:03 +02:00
ff19ca0fff add skaffold and fix bugs 2022-11-09 23:27:38 +02:00
a6eba73f0c don't copy . in Dockerfile 2022-11-09 21:55:36 +02:00
9363ec9d70 change pod prefix filter to blacklist 2022-11-09 21:15:17 +02:00
1218016ca1 metrics: move Subsystem to constants 2022-11-09 21:13:36 +02:00
db30464aef implement filters 2022-11-09 21:09:15 +02:00
d28a4bec05 drop line if can't parse 2022-11-09 20:46:41 +02:00
2232a748db implement Simulate and globalize BufferLimit 2022-11-09 20:33:44 +02:00
c2e4a9eb69 move interrupt signal to main 2022-11-09 20:13:50 +02:00
f26438f32a implement context cancellation on db error 2022-11-09 19:56:44 +02:00
801ac76eef comments 2022-11-09 19:52:39 +02:00
7e59c24c13 restructure project 2022-11-09 18:07:28 +02:00
86609d9347 verify mongo py compatability 2022-11-09 16:55:50 +02:00
33471fac2d rename mongoStruct to mongo_struct 2022-11-09 16:38:02 +02:00
69e0230949 refactor: use py mongo struct + stdlib log
+ restructure project
2022-11-09 15:59:30 +02:00
bd667c0fc1 improve direct string warning 2022-11-08 08:57:39 +02:00
c52c9aa9d9 Use actual fork of go.mod
All checks were successful
continuous-integration/drone Build is passing
It needed a lot of thinking...
2022-11-07 01:24:29 +02:00
3b52df7cba lint 2022-11-07 01:23:20 +02:00
fc9c1671b6 move local path to temporary git repo
Some checks failed
continuous-integration/drone Build is failing
2022-11-07 00:59:11 +02:00
a6e8b4becc add drone?
Some checks reported errors
continuous-integration/drone Build was killed
2022-11-07 00:26:12 +02:00
e45bf4739b go mod vendor
+ move k8s.io/apimachinery fork from go.work to go.mod
(and include it in vendor)
2022-11-07 00:26:05 +02:00
d08bbf250a fix double close on chan 2022-11-07 00:07:25 +02:00
689ecbcca3 update deps: tailer 2022-11-06 23:37:26 +02:00
8961a4237f fix mongo structs 2022-11-06 23:17:13 +02:00
ce3f67754a tidy logging 2022-11-06 22:29:03 +02:00
1424096176 parse partial lines 2022-11-06 22:06:48 +02:00
532575a87b prom mongo: use seconds instead of nanoseconds 2022-11-06 20:37:43 +02:00
80ea6b7821 globalize mongo metrics
multiple calls for options would duplicate/override
2022-11-06 19:04:03 +02:00
368359a043 rename files 2022-11-06 18:53:29 +02:00
ce066129b3 prom: homogenize metrics with python prototype 2022-11-06 18:52:15 +02:00
28a518be7f prometheus prefix 2022-11-06 17:02:49 +02:00
b323e34ff2 prom: improve helptext 2022-11-06 16:56:12 +02:00
c93b41dcfe mongo: indexes 2022-11-06 16:52:22 +02:00
1744b94cef fix catchupped metric 2022-11-06 16:35:49 +02:00
639cb6addd set mongo structs strictly in one place
+ split file
2022-11-06 16:33:57 +02:00
2fa1c6cd7b remove sigCatchupped; it has no use after refactor
(refactor: used to not have WithLabelValues)
2022-11-06 16:11:23 +02:00
d142fa9295 perf: cache catchupped status 2022-11-06 16:09:28 +02:00
77cf4b9dd8 don't drop lines at all, block instead 2022-11-06 16:08:11 +02:00
1ddc479e4b log errors in lines, and ignore empty lines 2022-11-06 15:57:18 +02:00