Class ContainerResource
java.lang.Object
io.opentelemetry.instrumentation.resources.ContainerResource
Factory for
Resource retrieving Container ID information. It supports both cgroup v1 and
v2 runtimes.-
Method Summary
Modifier and TypeMethodDescriptionstatic io.opentelemetry.sdk.resources.Resourceget()Returns resource with container information.
-
Method Details
-
get
public static io.opentelemetry.sdk.resources.Resource get()Returns resource with container information.
-