@@ -60,6 +60,8 @@ Resource attributes related to a host, SHOULD be reported under the `host.*` nam
60
60
- [ ` system.{os}. ` - OS Specific System Metrics] ( #systemos---os-specific-system-metrics )
61
61
- [ Metric: ` system.linux.memory.available ` ] ( #metric-systemlinuxmemoryavailable )
62
62
- [ Metric: ` system.linux.memory.slab.usage ` ] ( #metric-systemlinuxmemoryslabusage )
63
+ - [ Uptime Metric] ( #uptime-metric )
64
+ - [ Metric: ` system.uptime ` ] ( #metric-systemuptime )
63
65
64
66
<!-- tocstop -->
65
67
@@ -1159,3 +1161,27 @@ See also the [Slab allocator](https://blogs.oracle.com/linux/post/understanding-
1159
1161
<!-- prettier-ignore-end -->
1160
1162
<!-- END AUTOGENERATED TEXT -->
1161
1163
<!-- endsemconv -->
1164
+
1165
+ ## Uptime Metric
1166
+
1167
+ ### Metric: ` system.uptime `
1168
+
1169
+ This metric is [ recommended] [ MetricRecommended ] .
1170
+
1171
+ <!-- semconv metric.system.uptime -->
1172
+ <!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
1173
+ <!-- see templates/registry/markdown/snippet.md.j2 -->
1174
+ <!-- prettier-ignore-start -->
1175
+ <!-- markdownlint-capture -->
1176
+ <!-- markdownlint-disable -->
1177
+
1178
+ | Name | Instrument Type | Unit (UCUM) | Description | Stability |
1179
+ | -------- | --------------- | ----------- | -------------- | --------- |
1180
+ | ` system.uptime ` | Counter | ` s ` | The time the system has been running [ 1] | ![ Experimental] ( https://img.shields.io/badge/-experimental-blue ) |
1181
+
1182
+ ** [ 1] :** Instrumentations SHOULD use counter with type ` double ` and measure uptime with the highest precision available.
1183
+ The actual accuracy would depend on the instrumentation and operating system.
1184
+
1185
+ <!-- markdownlint-restore -->
1186
+ <!-- prettier-ignore-end -->
1187
+ <!-- END AUTOGENERATED TEXT -->
0 commit comments