Class DiskUsageMonitoringInitializer
java.lang.Object
io.jenkins.plugins.opentelemetry.init.DiskUsageMonitoringInitializer
- All Implemented Interfaces:
ExtensionPoint
,io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
,Comparable<io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener>
@Extension(dynamicLoadable=YES,
optional=true)
public class DiskUsageMonitoringInitializer
extends Object
implements io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
Capture disk usage metrics relying on the
QuickDiskUsagePlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionprotected JenkinsControllerOpenTelemetry
protected com.cloudbees.simplediskusage.QuickDiskUsagePlugin
Don't inject the `quickDiskUsagePlugin` using @Inject
because the injected instance is not the right one. -
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
afterConfiguration, compareTo, ordinal
-
Field Details
-
quickDiskUsagePlugin
protected com.cloudbees.simplediskusage.QuickDiskUsagePlugin quickDiskUsagePluginDon't inject the `quickDiskUsagePlugin` using @Inject
because the injected instance is not the right one. Lazy load it usingJenkins.getPlugin(Class)
. -
jenkinsControllerOpenTelemetry
-
-
Constructor Details
-
DiskUsageMonitoringInitializer
public DiskUsageMonitoringInitializer()
-
-
Method Details
-
postConstruct
@PostConstruct public void postConstruct()
-