Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76919 - [grafana-agent][promtail] Broken journald scraping integration

Attached to Project: Community Packages
Opened by Giovanni Bottaro (bgiovanni) - Friday, 23 December 2022, 16:48 GMT
Last edited by Daurnimator (daurnimator) - Monday, 26 December 2022, 09:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Daurnimator (daurnimator)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Upstream bug report: https://github.com/grafana/agent/issues/2641 (This isn't fixed in the latest version because the PKGBUILD doesn't use upstream build flow)
package version(s): v0.30.1 (it probably started with v0.30.0)

Description:
When grafana-agent is run with a config which involves scraping systemd's journal the following warning is displayed:
"grafana-agent[548]: ts=2022-12-23T16:04:10.579500851Z caller=journaltargetmanager.go:29 level=warn component=logs logs_config=default msg="WARNING!!! Journal target was configured but support for reading the systemd journal is not compiled into this build of promtail!"
As a result journal entries aren't being read anymore.

It seems that a 'recent' change to promtail build behavior is causing this, I briefly looked at promtail PKGBUILD and it doesn't look like the change was accounted there as well, which means that the promtail package has probably (**I didn't test**) broken systemd scraping too.

This task depends upon

Closed by  Daurnimator (daurnimator)
Monday, 26 December 2022, 09:45 GMT
Reason for closing:  Fixed
Comment by Daurnimator (daurnimator) - Monday, 26 December 2022, 09:45 GMT
Should be fixed with 0.30.1-2

Loading...