Commit Graph

40 Commits

Author SHA1 Message Date
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
rasmus 270737516c use baseName for prometheus 2022-11-06 01:44:29 +02:00
rasmus e2b232ba63 move ctx explicit 2022-11-06 01:21:30 +02:00
rasmus 6717063236 refactor sender to be per-file 2022-11-06 01:21:14 +02:00
rasmus f920d03bc8 add TODOs from gitea issues 2022-11-03 12:42:59 +02:00
rasmus 55d47f30ec rename package to logmower-shipper 2022-11-03 12:31:01 +02:00
rasmus d6f3d8c56f refactor and continue implementation of whole pkg 2022-11-03 12:28:18 +02:00
rasmus 70ec46805f initial commit 2022-10-11 10:54:46 +03:00