Skip to content

Upgrade Beyla component to 2.5.4 #4100

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

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open

Upgrade Beyla component to 2.5.4 #4100

wants to merge 26 commits into from

Conversation

rafaelroquetto
Copy link
Contributor

@rafaelroquetto rafaelroquetto commented Aug 1, 2025

PR Description

This PR upgrades Beyla component to release 2.5 (v2.5.4).

  • Added export mode and sampling config per service
  • Added trace section to configure sampling and instrumentations for tracing.
  • Added more instrumentations and features.

Which issue(s) this PR fixes

Closes #3780

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@CLAassistant
Copy link

CLAassistant commented Aug 1, 2025

CLA assistant check
All committers have signed the CLA.

@marctc marctc marked this pull request as ready for review August 1, 2025 14:09
@marctc marctc requested review from a team and clayton-cornell as code owners August 1, 2025 14:09
@marctc marctc changed the title Update beyla Upgrade Beyla component to 2.5.4 Aug 1, 2025
Copy link
Contributor

github-actions bot commented Aug 1, 2025

@@ -55,6 +55,8 @@ Main (unreleased)

- Add `application_host` and `network_inter_zone` features to `beyla.ebpf` component. (@marctc)

- Upgrade `beyla.ebpf` to version Beyla v2.5.4 The full list of changes can be found in the [Beyla release notes](https://github.com/grafana/beyla/releases/tag/v2.5.4) (@marctc)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be good to mention which version we're upgrading from. After all users would need to check the changelogs of all the intermediate versions too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be especially good to mention any breaking changes. Normally breaking changes should be described in the release notes in more detail.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also want to put there breaking changes from things that are not config? We introduced some breaking changes that are more from behaviour but I dont think honestly affects much to the component.

Comment on lines +334 to +336
The `traces` block contains the following sub-blocks:

- [`sampler`][sampler] - configures global trace sampling settings. See the [`sampler`][sampler] section for detailed configuration options.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For child blocks, this is usually documented in the blocks table (lines 67-89). I'd expect that a child block of traces be added between lines 88 and 89

I've added this as a comment to that section of the table. If this is correct, then lines 334-336 should be deleted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @clayton-cornell, the thing is the sampler section has the same config block for the block traces and for each invidual discovery service section, so I wanted to avoid repeat the block

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't have to repeat the block. It's defined once (below on lines 369-390). If it's noted as a child block in the block table, then it's all consistent with other component topics that have child blocks in multiple places. We don't note child block hierarchy in the block descriptions... only in the block tables.

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@grcevski
Copy link
Contributor

grcevski commented Aug 7, 2025

We are working on 2.5.5 maybe we can pick that up as well, it has a fix that you can only enable span metrics without application metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for network_inter_zone feature to beyla.ebpf
7 participants