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

Process vs runtime metrics definition #1215

Open
lmolkova opened this issue Jul 8, 2024 · 0 comments
Open

Process vs runtime metrics definition #1215

lmolkova opened this issue Jul 8, 2024 · 0 comments
Labels

Comments

@lmolkova
Copy link
Contributor

lmolkova commented Jul 8, 2024

Based on the SemConv WG on 7/8, separating actionable items from #1161 and #1035 (comment)

  • We need to document that Process metrics need to be attached to the process resource.
    • the primary scenario for those metrics is an external observer (collector)
  • Runtime instrumentations should not really report process metrics because:
    • in-proc instrumentations can't guarantee the resource attributes to be present
    • can't report pid because there could be duplication with resource attribute
    • runtime process metrics would duplicate ones coming from the collector.
    • one way for runtimes to report process metrics could be to have them as opt-in (resource concern remains).
  • Runtime-specific conventions should define individual CPU metrics, even if they are very similar to process.cpu.time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants