You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: instrumentation/resources/library/src/main/java/io/opentelemetry/instrumentation/resources/ProcessResource.java
+11-3
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,6 @@
14
14
importjava.lang.management.ManagementFactory;
15
15
importjava.lang.management.RuntimeMXBean;
16
16
importjava.util.ArrayList;
17
-
importjava.util.Arrays;
18
17
importjava.util.List;
19
18
importjava.util.Locale;
20
19
importjava.util.regex.Pattern;
@@ -35,6 +34,9 @@ public final class ProcessResource {
35
34
// Important: This is statically used in buildResource, so must be declared/initialized first.
Copy file name to clipboardexpand all lines: instrumentation/resources/library/src/test/java/io/opentelemetry/instrumentation/resources/ProcessResourceTest.java
+21-14
Original file line number
Diff line number
Diff line change
@@ -19,32 +19,39 @@ class ProcessResourceTest {
19
19
@Test
20
20
@SetSystemProperty(key = "os.name", value = "Linux 4.12")
0 commit comments