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

Recommendation of metircs for monitoring memory-usage of all the currently running processes #3575

Closed
zhchai opened this issue Jun 29, 2023 · 3 comments
Assignees
Labels
spec:metrics Related to the specification/metrics directory

Comments

@zhchai
Copy link

zhchai commented Jun 29, 2023

What are you trying to achieve?
Monitor memory-usage of all the currently running processes, I am using 1 instrument to monitor all the running processes, but mostly the processes can be generated and exit runtimely.
Do you have recommendation for such scenario?

What did you expect to see?
If the process exit, its measurement should be stopped.

Additional context.
open-telemetry/opentelemetry-cpp#2199

Add any other context about the problem here. If you followed an existing documentation, please share the link to it.
No

@zhchai zhchai added the spec:metrics Related to the specification/metrics directory label Jun 29, 2023
@zhchai
Copy link
Author

zhchai commented Jul 11, 2023

@jack-berg do you have any recommendation on this?

@zhchai
Copy link
Author

zhchai commented Jul 18, 2023

@marcalff I see your comment on open-telemetry/opentelemetry-cpp#2184

After additional analysis, there is no real use case for removing instruments individually.

do you have any recommendation for this case? or metric is not suitable for variable set monitoring?

@austinlparker
Copy link
Member

This is a use case of #3985, closing this issue in favor of that one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

No branches or pull requests

3 participants