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.
  • Field Details

  • Constructor Details

    • GitHubClientMonitoring

      public GitHubClientMonitoring()
  • Method Details

    • postConstruct

      @PostConstruct public void postConstruct()