Commit Graph

16 Commits

Author SHA1 Message Date
Ingo Oppermann
a581f1dbc2 User buffer pool where appropriate 2024-10-10 15:09:50 +02:00
Ingo Oppermann
3756ce4977 Add AppendFileReader to filesystem, allows session logging with less I/O 2024-08-20 17:34:50 +02:00
Ingo Oppermann
03da97217b Use faster JSON and gzip packages 2024-04-24 15:42:11 +02:00
Ingo Oppermann
68cb1b1bda Allow negative persist interval in order to avoid collecting and storing session history 2023-12-04 16:18:07 +01:00
Ingo Oppermann
85204b1788 Fix session log loss if session closes before latest log file split 2023-11-02 20:23:25 +01:00
Ingo Oppermann
24be6a4bc5 Fix erroring out on defect session history file
Instead of throwing an error and refusing to register a collector
the defect history file is renamed and the session history is
started from scratch.
2023-09-21 10:31:05 +02:00
Ingo Oppermann
352289f759 Fix register session after close 2023-07-04 12:30:43 +02:00
Ingo Oppermann
b8a975b7c7 Add logging HTTP requests as single session 2023-06-21 16:46:35 +02:00
Ingo Oppermann
69e264f22c Don't expose Stop() on collector, allow to close a session explicitely 2023-06-21 13:21:25 +02:00
Ingo Oppermann
ee45c85c29 Fix logging, add json tags, fix create directories before copy/rename a file 2023-06-20 16:14:24 +02:00
Ingo Oppermann
d3eed2a417 Allow to log each finished session to filesystem
By providing CORE_SESSIONS_SESSION_LOG_PATH_PATTERN (e.g. "/log/%Y-%m-%d.log") all
finished sessions will be logged to a file according to the provided strftime-pattern. The
actual value is calculated from when the session closed. CORE_SESSIONS_PERSIST must
be set. Default: not set.

Set CORE_SESSIONS_SESSION_LOG_BUFFER_SEC to the number of seconds the log should be
buffered in memory before persisted to disk. Default 15 seconds.
2023-06-20 15:19:25 +02:00
Ingo Oppermann
2a3288ffd0 Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00
Ingo Oppermann
f60d09963c Add RegistryReader interface for read-only registry 2022-08-19 11:46:30 +03:00
Jan Stabenow
eb1cc37456 Add GoSRT & improvements (repo-merge)
Commits (Ingo Oppermann):
- Add experimental SRT connection stats and logs
- Hide /config/reload endpoint in reade-only mode
- Add SRT server
- Create v16 in go.mod
- Fix data races, tests, lint, and update dependencies
- Add trailing slash for routed directories (datarhei/restreamer#340)
- Allow relative URLs in content in static routes

Co-Authored-By: Ingo Oppermann <57445+ioppermann@users.noreply.github.com>
2022-06-23 22:13:58 +02:00
Jan Stabenow
9746248c10 Add v16.8.0 2022-06-03 17:21:52 +02:00
Jan Stabenow
9c0b535199 Add v16.7.2 2022-05-13 19:26:45 +02:00