Skip to content

Investigate merging this repository into go-sysinfo #51

Open
@cmacknz

Description

@cmacknz

This repository currently contains the CGO dependent code responsible for obtaining system level metrics for the Metricbeat system module and Agent system integration. It was forked out of https://github.com/elastic/elastic-agent-libs because of the CGO dependency. This has left it as an isolated repository with a single maintainer.

Since the system metrics code overlaps functionally with much of the system dependent code in https://github.com/elastic/go-sysinfo it seems appealing to try to merge them together. The go-sysinfo code is much more widely known, merging them will consolidate our OS/system dependent packages, and the system metrics packages should be able to benefit from additional code reviewers that are familiar with system level details.

Let's use this issue to determine what steps we would need to take to move the system metrics code here into the go-sysinfo repository. The biggest barrier will be that the two codebases have totally different APIs, so we will have to identify ways to make the system metrics code conform to the conventions in go-sysinfo or decide where we will allow the two APIs to diverge.

I think finding a common home for our system level code is the best path for long term maintenance of both code bases considering how much they overlap.

CC @andrewkroh @fearful-symmetry

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions