Package io.jenkins.plugins.opentelemetry.init
package io.jenkins.plugins.opentelemetry.init
-
ClassDescriptionCapture disk usage metrics relying on the
QuickDiskUsagePlugin
This implementation of the monitoring of the GitHub client relies on a hack with Java reflection to access a private field of theConnector
class because we have not found any public API to observe the state of this GitHub client.Inspired by io.opentelemetry.instrumentation.javaagent.runtimemetrics.RuntimeMetricsInstaller TODO support reconfiguration ofotel.instrumentation.runtime-metrics.enabled=false
Inspired by https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/v1.14.0/instrumentation/java-util-logging/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jul/JavaUtilLoggingHelper.javaCapture SCM Events metricsTODO Register theStaplerInstrumentationServletFilter
earlier in the chain ofFilter
of the Jenkins webapp, register it before theHudsonFilter
so that theAuditingSecurityListener
events can be associated to an HTTP trace.