Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation
system inspired by Prometheus. It is designed to be very cost effective and easy
to operate. It does not index the contents of the logs, but rather a set of
labels for each log stream.
sysutils/loki: Remove GH_TUPLE
GH_TUPLE is not required when using go:modules.
As a side-effect, this solves a hash issue in distfiles.
Approved by: portmgr (blanket)
Differential Revision: https://reviews.freebsd.org/D55695
sysutils/loki: Fix build
Checksum of one of the many required go modules changed, compared
its content to what was on distcache to verify the change is harmless:
diff consul-1.5.1/vendor/k8s.io/client-go/pkg/version/base.go ...
...
< gitVersion string = "v0.0.0-master+40cec98468b"
---
> gitVersion string = "v0.0.0-master+40cec98468b8"
Approved by: portmgr (blanket)
sysutils/loki: Fix a copy/paste mishap in comments
Several comments in loki's rc.d file referred to "grafana" where they
should have referred to "loki". Looks like a copy/paste mishap from
grafana's rc.d.
Approved by: portmgr blanket
Fixes: a96c988a2977 sysutils/loki: Add new port
Pull Request: https://github.com/freebsd/freebsd-ports/pull/466
go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
sysutils/loki: Add version information to build
This way, `loki --version` actually shows the version that
is installed.
PR: 281716
Approved by: freebsd@funzi.org (maintainer)
sysutils/loki: add promtail rc.d script
Promtail is a log reader and it can be run as a service to gather the
logs to be sent to remote loki server. For nodes that need to send logs
only, promtail service and configuration file is needed
PR: 274194, 274473
Signed-off-by: Christopher Beppler <freebsd@funzi.org>
Approved by: Chirstopher Beppler <freebsd@funzi.org> (maintainer)
sysutils/loki: Pin to go1.19
When built with go1.20, loki fails at runtime:
panic: Something in this program imports
go4.org/unsafe/assume-no-moving-gc to declare that it assumes a
non-moving garbage collector, but your version of
go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that
it's safe against the go1.20 runtime. If you want to risk it, run with
environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.20 set.
Notably, if go1.20 adds a moving garbage collector, this program is
unsafe to use.
Pin this port to go1.19 until this is resolved upstream.
Reported by: cation (via #freebsd-ports)
Approved by: portmgr (blanket, just fix it)
sysutils/loki: Switch log level default from "info" to "warn"
By default, the log level is set to "info", which happens to be very
verbose.
To avoid filling the log file and saving disk space, I recommend we set
the default log level to "warn".
PR: 267424
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/loki: Add new port
Loki is a horizontally-scalable, highly-available, multi-tenant log
aggregation system inspired by Prometheus. It is designed to be very
cost effective and easy to operate. It does not index the contents of
the logs, but rather a set of labels for each log stream.
WWW: https://github.com/grafana/loki
PR: 256030