OpenTelemetry SDK
    Preparing search index...

    Variable METRIC_K8S_POD_UPTIMEConst Experimental

    METRIC_K8S_POD_UPTIME: "k8s.pod.uptime" = ...

    The time the Pod has been running.

    Instrumentations SHOULD use a gauge with type double and measure uptime in seconds as a floating point number with the highest precision available. The actual accuracy would depend on the instrumentation and operating system. This metric is derived from the PodStats.StartTime field of Kubelet's stats API, where StartTime represents the pod sandbox creation time as noted in the Kubelet source. This value resets when the node restarts, as the pod sandbox is recreated.

    This metric is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.