Commit Graph

26 Commits

Author SHA1 Message Date
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
b03c845406 refactor prometheus metrics 2022-11-06 15:57:05 +02:00
a56e6d1ffc remove synced() for shipper
+ shipFile cleanup after itself
2022-11-06 15:46:07 +02:00
60b893d960 fix: basename in prometheus 2022-11-06 15:23:20 +02:00
1617658d1a defer closing tailable file via subcontext
+ update deps for defer f.Close()
2022-11-06 14:41:09 +02:00
d181172c30 pick up existing files on start 2022-11-06 04:13:59 +02:00
6570a2b3f8 rename mower.go 2022-11-06 03:59:42 +02:00
f5240274ec it is shipping and parsing 2022-11-06 03:43:52 +02:00
36b971a930 fix err handling bug 2022-11-06 02:17:00 +02:00
20d867bfcb work around mongo database uri parsing 2022-11-06 02:16:54 +02:00
908ac5c52a submit: complete local sender refactor 2022-11-06 01:45:19 +02:00
270737516c use baseName for prometheus 2022-11-06 01:44:29 +02:00
e2b232ba63 move ctx explicit 2022-11-06 01:21:30 +02:00
6717063236 refactor sender to be per-file 2022-11-06 01:21:14 +02:00
f920d03bc8 add TODOs from gitea issues 2022-11-03 12:42:59 +02:00
55d47f30ec rename package to logmower-shipper 2022-11-03 12:31:01 +02:00
d6f3d8c56f refactor and continue implementation of whole pkg 2022-11-03 12:28:18 +02:00