Class GitHubClientMonitoring
java.lang.Object
io.jenkins.plugins.opentelemetry.init.GitHubClientMonitoring
- All Implemented Interfaces:
ExtensionPoint
,io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
,Comparable<io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener>
@Extension(dynamicLoadable=YES,
optional=true)
public class GitHubClientMonitoring
extends Object
implements io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
This implementation of the monitoring of the GitHub client relies on a hack with Java reflection to access a private
field of the
Connector
class because we have not found any public API to observe the state of this GitHub client.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
jenkinsControllerOpenTelemetry
-
-
Constructor Details
-
GitHubClientMonitoring
public GitHubClientMonitoring()
-
-
Method Details
-
postConstruct
@PostConstruct public void postConstruct()
-