Commit Graph

57 Commits

Author SHA1 Message Date
rasmus a6eba73f0c don't copy . in Dockerfile 2022-11-09 21:55:36 +02:00
rasmus 9363ec9d70 change pod prefix filter to blacklist 2022-11-09 21:15:17 +02:00
rasmus 1218016ca1 metrics: move Subsystem to constants 2022-11-09 21:13:36 +02:00
rasmus db30464aef implement filters 2022-11-09 21:09:15 +02:00
rasmus d28a4bec05 drop line if can't parse 2022-11-09 20:46:41 +02:00
rasmus 2232a748db implement Simulate and globalize BufferLimit 2022-11-09 20:33:44 +02:00
rasmus c2e4a9eb69 move interrupt signal to main 2022-11-09 20:13:50 +02:00
rasmus f26438f32a implement context cancellation on db error 2022-11-09 19:56:44 +02:00
rasmus 801ac76eef comments 2022-11-09 19:52:39 +02:00
rasmus 7e59c24c13 restructure project 2022-11-09 18:07:28 +02:00
rasmus 86609d9347 verify mongo py compatability 2022-11-09 16:55:50 +02:00
rasmus 33471fac2d rename mongoStruct to mongo_struct 2022-11-09 16:38:02 +02:00
rasmus 69e0230949 refactor: use py mongo struct + stdlib log
+ restructure project
2022-11-09 15:59:30 +02:00
rasmus bd667c0fc1 improve direct string warning 2022-11-08 08:57:39 +02:00
rasmus c52c9aa9d9 Use actual fork of go.mod
continuous-integration/drone Build is passing Details
It needed a lot of thinking...
2022-11-07 01:24:29 +02:00
rasmus 3b52df7cba lint 2022-11-07 01:23:20 +02:00
rasmus fc9c1671b6 move local path to temporary git repo
continuous-integration/drone Build is failing Details
2022-11-07 00:59:11 +02:00
rasmus a6e8b4becc add drone?
continuous-integration/drone Build was killed Details
2022-11-07 00:26:12 +02:00
rasmus 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
rasmus d08bbf250a fix double close on chan 2022-11-07 00:07:25 +02:00
rasmus 689ecbcca3 update deps: tailer 2022-11-06 23:37:26 +02:00
rasmus 8961a4237f fix mongo structs 2022-11-06 23:17:13 +02:00
rasmus ce3f67754a tidy logging 2022-11-06 22:29:03 +02:00
rasmus 1424096176 parse partial lines 2022-11-06 22:06:48 +02:00
rasmus 532575a87b prom mongo: use seconds instead of nanoseconds 2022-11-06 20:37:43 +02:00
rasmus 80ea6b7821 globalize mongo metrics
multiple calls for options would duplicate/override
2022-11-06 19:04:03 +02:00
rasmus 368359a043 rename files 2022-11-06 18:53:29 +02:00
rasmus ce066129b3 prom: homogenize metrics with python prototype 2022-11-06 18:52:15 +02:00
rasmus 28a518be7f prometheus prefix 2022-11-06 17:02:49 +02:00
rasmus b323e34ff2 prom: improve helptext 2022-11-06 16:56:12 +02:00
rasmus c93b41dcfe mongo: indexes 2022-11-06 16:52:22 +02:00
rasmus 1744b94cef fix catchupped metric 2022-11-06 16:35:49 +02:00
rasmus 639cb6addd set mongo structs strictly in one place
+ split file
2022-11-06 16:33:57 +02:00
rasmus 2fa1c6cd7b remove sigCatchupped; it has no use after refactor
(refactor: used to not have WithLabelValues)
2022-11-06 16:11:23 +02:00
rasmus d142fa9295 perf: cache catchupped status 2022-11-06 16:09:28 +02:00
rasmus 77cf4b9dd8 don't drop lines at all, block instead 2022-11-06 16:08:11 +02:00
rasmus 1ddc479e4b log errors in lines, and ignore empty lines 2022-11-06 15:57:18 +02:00
rasmus b03c845406 refactor prometheus metrics 2022-11-06 15:57:05 +02:00
rasmus a56e6d1ffc remove synced() for shipper
+ shipFile cleanup after itself
2022-11-06 15:46:07 +02:00
rasmus 60b893d960 fix: basename in prometheus 2022-11-06 15:23:20 +02:00
rasmus 66c71faf10 Add Dockerfile 2022-11-06 15:06:11 +02:00
rasmus 859985e3c3 Add README.md 2022-11-06 15:04:16 +02:00
rasmus 1617658d1a defer closing tailable file via subcontext
+ update deps for defer f.Close()
2022-11-06 14:41:09 +02:00
rasmus 4554ddb188 update deps 2022-11-06 04:27:10 +02:00
rasmus d181172c30 pick up existing files on start 2022-11-06 04:13:59 +02:00
rasmus 6570a2b3f8 rename mower.go 2022-11-06 03:59:42 +02:00
rasmus f5240274ec it is shipping and parsing 2022-11-06 03:43:52 +02:00
rasmus 36b971a930 fix err handling bug 2022-11-06 02:17:00 +02:00
rasmus 20d867bfcb work around mongo database uri parsing 2022-11-06 02:16:54 +02:00
rasmus 908ac5c52a submit: complete local sender refactor 2022-11-06 01:45:19 +02:00