-
Notifications
You must be signed in to change notification settings - Fork 175
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
Add system uptime metric #648
Comments
Is this duplicate of open-telemetry/opentelemetry-specification#1273 ? |
Thanks In fact, I can see there's a process namespace for attributes, but I cannot see a Also when running the OT collector with the |
We discussed this briefly during today's SIG Spec call, let's see where the conversation in open-telemetry/opentelemetry-specification#1273 takes us. |
I would support
|
I support both |
These all make sense, but please pause for now, we are considering refactoring existing semantic conventions. Please come to ongoing discussions. See open-telemetry/opentelemetry-specification#2753. |
@jsuereth Can we transfer this to the semantic-conventions repository? |
Q. Is there any plan to do it? I'm interested in it. |
@kernelpanic77 offered to do it here open-telemetry/opentelemetry-collector-contrib#31627 (comment) :) |
Looks like we have an agreement here. Just need someone to submit a PR |
Is there any way we can generalize this to be an "uptime" of any entity, not just of "system"? What if we make this an |
I suppose we could do it, I wonder what others think. The |
I think this is part of a broader discussion taking place in #1161 ( During the System Semantic Conventions SIG (20/06/2024) we agreed on keeping the metrics in namespaces (even if there are duplications) due to:
|
What are you trying to achieve?
I want to add a metric to the semantic conventions that will describe the system uptime. How about
system.uptime
?Additional context.
This is reported by Telegraf as
uptime
field of thesystem
metric (in seconds).Here's a related proposal on the
hostmetrics
receiver to add this metric: open-telemetry/opentelemetry-collector-contrib#14130.The text was updated successfully, but these errors were encountered: