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/jmx-metrics/javaagent/src/main/java/io/opentelemetry/instrumentation/javaagent/jmx/JmxMetricInsightInstaller.java
+4-2
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
importjava.io.InputStream;
21
21
importjava.nio.file.Files;
22
22
importjava.nio.file.Paths;
23
+
importjava.time.Duration;
23
24
importjava.util.List;
24
25
25
26
/** An {@link AgentListener} that enables JMX metrics during agent startup. */
@@ -46,8 +47,9 @@ private static long beanDiscoveryDelay(ConfigProperties configProperties) {
46
47
47
48
// If discovery delay has not been configured, have a peek at the metric export interval.
48
49
// It makes sense for both of these values to be similar.
0 commit comments