Skip to content

Clarify / extend monitoring APIs to allow migration away from globals #43794

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
faec opened this issue Apr 8, 2025 · 1 comment
Open

Clarify / extend monitoring APIs to allow migration away from globals #43794

faec opened this issue Apr 8, 2025 · 1 comment
Assignees
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@faec
Copy link
Contributor

faec commented Apr 8, 2025

To support the Beats Receivers project, recent changes added a metrics namespace inside the top-level Info struct for each beat. This has been rapidly extended, most recently in the new input metrics API changes.

Unfortunately, there isn't a 1-1 relationship between the new Info-level metrics data and the various global registries used throughout the beats repository, so current uses are still more or less placeholders. We should more clearly define the registry/namespace hierarchies and their ownership/use, to allow a full migration away from process-level globals in the beats metrics, and replace them with an equivalent API that can enable metrics reporting in both "classic" beats and the new OTel beats receivers.

@faec faec self-assigned this Apr 8, 2025
@faec faec added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Apr 8, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

No branches or pull requests

2 participants