Skip to content

[9.4](backport #6830) Decode all opamp agent capabilites#6833

Merged
michel-laterman merged 1 commit into9.4from
mergify/bp/9.4/pr-6830
Apr 14, 2026
Merged

[9.4](backport #6830) Decode all opamp agent capabilites#6833
michel-laterman merged 1 commit into9.4from
mergify/bp/9.4/pr-6830

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 14, 2026

What is the problem this PR solves?

Decode all capabilites an opamp agent can send.

How does this PR solve the problem?

Use the upstream protobufs.AgentCapabilities_name as the source of truth to map a capability to a human-readable name.

Design Checklist

  • I have ensured my design is stateless and will work when multiple fleet-server instances are behind a load balancer.
  • I have or intend to scale test my changes, ensuring it will work reliably with 100K+ agents connected.
  • I have included fail safe mechanisms to limit the load on fleet-server: rate limiting, circuit breakers, caching, load shedding, etc.

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool

Related issues

* Decode all opamp agent capabilites

Decode all capabilites an opamp agent can send.

* Silence linter

* add unit tests

(cherry picked from commit ed825c2)
@mergify mergify bot requested a review from a team as a code owner April 14, 2026 16:49
@mergify mergify bot added the backport label Apr 14, 2026
@mergify mergify bot requested review from blakerouse and samuelvl April 14, 2026 16:49
@mergify mergify bot added the backport label Apr 14, 2026
@github-actions github-actions bot added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Apr 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 14, 2026

🔍 Preview links for changed docs

@github-actions
Copy link
Copy Markdown
Contributor

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@michel-laterman michel-laterman enabled auto-merge (squash) April 14, 2026 16:55
@michel-laterman michel-laterman merged commit 036837b into 9.4 Apr 14, 2026
12 checks passed
@michel-laterman michel-laterman deleted the mergify/bp/9.4/pr-6830 branch April 14, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant