Class MonitoringQueueListener
java.lang.Object
hudson.model.queue.QueueListener
io.jenkins.plugins.opentelemetry.queue.MonitoringQueueListener
- All Implemented Interfaces:
ExtensionPoint
,io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
,Comparable<io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener>
@Extension(dynamicLoadable=YES,
optional=true)
public class MonitoringQueueListener
extends QueueListener
implements io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
Monitor the Jenkins Build queue
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterConfiguration
(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties configProperties) void
void
void
void
onLeft
(Queue.LeftItem li) void
Methods inherited from class hudson.model.queue.QueueListener
all, onEnterBuildable, onLeaveBuildable, onLeaveWaiting
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
compareTo, ordinal
-
Constructor Details
-
MonitoringQueueListener
public MonitoringQueueListener()
-
-
Method Details
-
afterConfiguration
public void afterConfiguration(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties configProperties) - Specified by:
afterConfiguration
in interfaceio.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
-
postConstruct
@PostConstruct public void postConstruct() -
onEnterBlocked
- Overrides:
onEnterBlocked
in classQueueListener
-
onLeaveBlocked
- Overrides:
onLeaveBlocked
in classQueueListener
-
onLeft
- Overrides:
onLeft
in classQueueListener
-
onEnterWaiting
- Overrides:
onEnterWaiting
in classQueueListener
-