Date: Tue, 03 Oct 2023 18:49:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274194] sysutils/loki: New rc.d file for promtail Message-ID: <bug-274194-7788-gm9clS3RaI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-274194-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-274194-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274194 --- Comment #1 from Christopher Beppler <freebsd@funzi.org> --- Hi Eren, Thank you for taking initiative! I like the idea of also providing a rc script for promtail. Since we should= n't deviate from upstream too much, I'd propose to use https://github.com/grafana/loki/blob/v2.9.1/clients/cmd/promtail/promtail-l= ocal-config.yaml as default configuration (adapted to FreeBSD paths where necessary, see bel= ow) I'd see positions.yaml somewhere around /usr/local/var/db/loki. You're righ= t, it's a best a huge performance penalty if positions.yaml state file gets lo= st on reboot. If promtail is later configured by the user to run as root is up to the use= r. Alternatively, the loki user could be put into the right groups to get read access to the log files. That's not in scope of this port - we try to stay = as close as possible to upstream. If we can get the upstream promtail-local-config.yaml running, we're good. The user will have to read through the documentation to configure it properly anyways :-). I plan to work on the version bump in the next days. If you attach a patch = for the current ports version (2.8.1), I am happy to submit it all together. Thanks Christopher --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274194-7788-gm9clS3RaI>