Skip to content
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

Guidance for system and process metric instrumentation using a Collector #1830

Open
Tracked by #1804
braydonk opened this issue Jan 27, 2025 · 0 comments
Open
Tracked by #1804

Comments

@braydonk
Copy link
Contributor

Area(s)

area:system

What's missing?

The system and process namespace metrics are generally reflections of values that any process can conceivably collect from the operating system. However, there are two caveats with metrics from these namespaces:

  • Forsystem metrics, it will rarely if ever make sense for multiple sources on the same machine to report the metrics
  • process metrics can be relatively expensive to collect, so large numbers of processes instrumenting themselves can lead to unwanted overhead

Describe the solution you'd like

We should find a way to write some manner of guidance around the collection of these metrics. Many of them have relied on our group being inherently tied up with the hostmetricsreceiver in the Collector, and so this alternate angle has not been considered. However there are self-instrumenting process libraries and it is surely within the realm of possibility that alternate implementations than the hostmetricsreceiver to collect system information could work fine. So we should think more holistically about how users may interface with these conventions outside of a Collector, and recommend against bad approaches.

This guidance should exist in the Non-Normative section for the System group (in docs/non-normative/groups/system).

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

No branches or pull requests

2 participants