-
Notifications
You must be signed in to change notification settings - Fork 505
Fix attribute name in Beyla configuration. #2966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
💻 Deploy preview deleted. |
|
No doc changes or suggestions |
wildum
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tests should be updated. It would be nice to have more examples in the doc also but can be done via another PR
|
@wildum thanks, I will track the request for improved examples at grafana/beyla#1736 so that it does not fall in the limbo. |
(cherry picked from commit 5b5752a)
* remotecfg: Fix errNotModified causing incorrect last_load metric and printing invalid error logs (#2977) Fixing behavior of errNotModified and remotecfg_last_load_successful metric. This also prevents invalid error log messages from being printed. (cherry picked from commit 7350cac) * Fix attribute name in Beyla configuration. (#2966) (cherry picked from commit 5b5752a) * fix: Update `prometheus.exporter.postgresql` to work properly with postgres 17 (#2972) * Add support for postgres17 in prometheus.exporter.postgres * Update changelog * Update docs/sources/reference/components/prometheus/prometheus.exporter.postgres.md Co-authored-by: Clayton Cornell <[email protected]> --------- Co-authored-by: Clayton Cornell <[email protected]> (cherry picked from commit 3f52ee7) * Update changelog --------- Co-authored-by: Zachary Sistrunk <[email protected]> Co-authored-by: Rafael Roquetto <[email protected]>
PR Description
The Beyla configuration for network and application filters rely on the block label for the attribute name, i.e.
however, attribute names such as "k8s.src.owner.name" are not valid label identifiers, rendering the above config unparsable by the alloy config syntax.
This PR changes the code so that attributes need to be explicitly specified using the
attrfield:Which issue(s) this PR fixes
Notes to the Reviewer
PR Checklist