BSD Ports

sysutils/loki 2.9.17 MidnightBSD

Scalable, highly-available, multi-tenant log aggregation system

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
448dafe542
License
agpl
Categories
sysutils

Description

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.

In the other systems

SystemPortVersion
MidnightBSDsysutils/loki2.9.17
FreeBSDsysutils/loki2.9.2_34
OpenBSDsysutils/loki3.5.3
HardenedBSDsysutils/loki2.9.2_32
GhostBSDsysutils/loki2.9.2_32

Install

Binary package:

mport install grafana-loki

From mports:

cd /usr/mports/sysutils/loki && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	grafana-loki>0:sysutils/loki

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
go:modules cpe
Service scripts
loki, promtail

Files

pkg-plist 17
  • bin/loki
  • bin/loki-canary
  • bin/logcli
  • bin/promtail
  • @sample etc/loki.yaml.sample
  • @sample etc/promtail.yaml.sample
  • @owner
  • @group
  • @mode 750
  • @dir
  • @dir %%LOKI_DATADIR%%/rules-temp
  • @owner
  • @mode 750
  • @dir
  • @mode
  • @group
  • @owner
distinfo 278
FileSizeSHA256
grafana-loki-v2.9.17_GH0.tar.gz4.6239771e+07da5bb2cc6d2a15aa18870fe226b3d31572410050040543b1bd0b1820f9541289
AdaLogics-go-fuzz-headers-e8a1dd7889d6_GH0.tar.gz18235786b29be5b448f6b430fea6f6e21b93cfda1ed2234b1abf145b363f0970f86db
alecthomas-kingpin-v2.2.6_GH0.tar.gz443834624eae43489de8a71ea60efaf6744c581b6bd62909f7514c484c1ea0efaba5a
alecthomas-template-fb15b899a751_GH0.tar.gz553392e2a44375eca48ce941182504b5d13aa98182b9a3f64ace33bfda52208bd0f5e
alecthomas-units-b94a6e3cc137_GH0.tar.gz601285363142a53436bea696d297e5b5fcda6bc6a8104b1d7ba0db88ffee455b72e2
alicebob-gopher-json-a9ecdc9d1d3a_GH0.tar.gz3630ce51bf794d26ef3a8a4d0e4e8a4b477ce4e78bbad6d317fd7c839af9ebfcc68a
aliyun-aliyun-oss-go-sdk-v2.2.7_GH0.tar.gz83309258d9268e25f7904a9bcb92eb9dea4eea215a39828a40928d13753969a73eba6a
armon-go-metrics-v0.4.1_GH0.tar.gz383301d57217a743e15c89e56abc339872045ffc986bf07ae5d62116ac33b25e62a0d
asaskevich-govalidator-a9d515a09cc2_GH0.tar.gz6262561280bba795d71dc9e109658f79afa814c1f01c5e2f4c643d857ed45f89e57f3
aws-aws-sdk-go-v2-v1.16.0_GH0.tar.gz2.7988397e+07e4883c82d4220b9e8162ef6a15db90fe2c602b0940876ade77457e0a63d419e8
aws-aws-sdk-go-v1.44.321_GH0.tar.gz2.9170971e+073689462478090822d8a39a27a5aa3eda54557d876a6c9b5cbb170eaa11bcee58
aws-smithy-go-v1.11.1_GH0.tar.gz3014314d5ca58a4d6241886d047dc24d00b7462b4b77c871a5f5e4ce90ad8256ee167f
axiomhq-hyperloglog-3ddf4bad03dc_GH0.tar.gz151244a3bfb5ea2ce0ca3864117421370d23c9c5f76121a66005e72af87c0645fe359
Azure-azure-pipeline-go-v0.2.3_GH0.tar.gz1710299bd58f4a07dd02d9615e3638b3bb6dbfad80ef678ccdb8e17e3fa2b0fef343e
Azure-azure-sdk-for-go-2f352faf4f49_GH0.tar.gz5.4346849e+079b27a2c4a526c8fff2c3997f4b6596e31bbef6b853f38a0513c28626e377bc90
Azure-azure-sdk-for-go-48d39a82091b_GH0.tar.gz2.1052903e+07ae8c943d41c00e3334344054cf2ebed83a0eb3a21bd55958e81f40f5d45774b0
Azure-azure-sdk-for-go-76e5495a4d1c_GH0.tar.gz2.0631711e+074003a021469edef9f3429eee9649f02162125a82d236a43fc7d51c3b5c1e0be3
Azure-azure-sdk-for-go-e14a52008cf2_GH0.tar.gz2.0794629e+0747075784a3f94d77845d6e73ea10a082b488f0854ab68616e61ddedae0cbb3f6
Azure-azure-sdk-for-go-v36.2.0_GH0.tar.gz1.9599233e+071de6b4d2d0a015e91513acde2d0705a908e50f7efd9f832de22cbd4ef2976341
Azure-go-ansiterm-d185dfc1b5a1_GH0.tar.gz216501a061bad3379d8f955a3c2bd34c2927f2e561e7a11418dda2927eb222e3cbbc5

Commit history 2

DateCommitCreditsLog message
448dafe542 Lucas Holt sysutils/loki: fix consul checksum and broken etcd relink (#1512)
Fixes the Magus failure at https://www.midnightbsd.org/magus/ports/2269672 (checksum mismatch on \`hashicorp-consul-v1.5.1_GH0.tar.gz\`) and the extract failure that sits behind it. **Consul checksum.** GitHub regenerated the v1.5.1 archive. Size is identical and a full \`diff -r\` of the two extractions shows one difference: a git export-subst abbreviated hash in \`vendor/k8s.io/client-go/pkg/version/base.go\` went from 12 to 11 characters. \`distinfo\` is refreshed with the new SHA256. **etcd relink.** Once the checksum passes, extract fails with: \`\`\` install: .../work/etcd-3.5.4/client/pkg: realpath: No such file or directory \`\`\` The dedupe in #666 reused the \`etcd_io_etcd\` group, but that group carries a vendor subdir, so the framework moves it into …
bd94c1e836 Lucas Holt sysutils/loki: deduplicate etcd distfile (#666)
Fetches the etcd source archive once and links its client submodules into the required vendor paths.\n\nFixes Magus run 643 fetch failure caused by repeated identical distfile entries.\n\nValidation: bmake -V DISTFILES confirms one etcd archive; bmake -V WRKSRC_etcd_io_etcd; git diff --check. ## Summary by Sourcery Deduplicate the etcd source distfile used by the loki port by reusing a single etcd archive for its client submodules and wiring the vendor paths via post-extract symlinks to avoid fetch failures. Bug Fixes: - Resolve Magus fetch failures caused by repeated identical etcd distfile entries in the loki port. Enhancements: - Simplify loki’s vendored etcd client layout by linking client submodules from the main etcd distfile instead of fetching multiple identical archives. …