All Classes and Interfaces
Class
Description
TODO improve
ServletFilterInitializer
to ensure the
AuditingSecurityListener
events (AuditingSecurityListener.loggedIn(String)
, AuditingSecurityListener.failedToLogIn(String)
...) are invoked
within a trace.See https://tools.ietf.org/html/rfc6750
Span reference associate with a
BuildStep
Utils for
Clock
Useful when the
Iterator
is backed by an InputStream
and the logic of the code dereferences the
InputStream, make the Iterator
closeable.Utilities for extracting and reinserting
ConsoleNote
s.Use same root span name for all pull change request pipelines (pull request, merge request)
Use different span names for different branches.
Capture disk usage metrics relying on the
QuickDiskUsagePlugin
Customization of spans for shell step: (
sh
, cmd
, and powershell
).List the attribute keys of the template bindings exposed by
ObservabilityBackend.getBindings()
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/point-in-time-api.html
Retrieve the logs from Elasticsearch.
Span reference associate with a
FlowNode
Customization of the
checkout ...
step when configured to access a Git repository.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.Customization of the span for
git
steps.Global singleton similar to the
GlobalOpenTelemetry
in order to also have a
static accessor to the SdkLoggerProvider
List the attribute keys of the template bindings exposed by
ObservabilityBackend.getBindings()
Store pipeline logs both in Loki and in the Jenkins home directory.
Adapter to simplify the implementation of pipeline
Step
listeners.Readonly
ByteBuffer
backed by an InputStream
OpenTelemetry
instance intended to live on the Jenkins Controller.Adapter to convert Jenkins credentials to Apache HTTP credentials.
See https://www.elastic.co/guide/en/ecs/current/ecs-allowed-values-event-category.html
Inspired by io.opentelemetry.instrumentation.javaagent.runtimemetrics.RuntimeMetricsInstaller
TODO support reconfiguration of
otel.instrumentation.runtime-metrics.enabled=false
Deprecated.
Converter gets garbage collected when the HTTP session expires
Deprecated.
use
LogLineIterator
insteadRepresents a build log line.
Converter gets garbage collected when the HTTP session expires
InputStream
backed by a LogLineIterator
Generated localization support class.
Span reference associate with a
Run
Monitor the Jenkins Build queue
TODO support reconfiguration
List the attribute keys of the template bindings exposed by
ObservabilityBackend.getBindings()
Instantiate and configure OpenTelemetry SDKs on the Jenkins build agents
Java constants for the
[OpenTelemetry System Metrics Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/system-metrics.md)
[OpenTelemetry Process Metrics Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/process-metrics.md)
Decorates Jenkins navigation GUI with the OpenTelemetry dashboard link if defined
Propagates trace context to Jenkins build agents and, if enabled, create a span on the jenkins agent side for the remoting call.
Inject OpenTelemetry environment variables in shell steps:
TRACEPARENT
, OTEL_EXPORTER_OTLP_ENDPOINT
...Inject OpenTelemetry environment variables in shell steps:
TRACEPARENT
, OTEL_EXPORTER_OTLP_ENDPOINT
...Java constants for the
[OpenTelemetry Environment variables conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md)
[OpenTelemetry Java SDK Autoconfigure](https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure)
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.java
Binds Otel Logs to Pipeline logs.
Action to decorate
Job
steps to hold references to Span
sInject OpenTelemetry environment variables in shell steps:
TRACEPARENT
, OTEL_EXPORTER_OTLP_ENDPOINT
...Span reference associated with a phase of a
Run
as a Actionable.getActions(Class)
Capture SCM Events metrics
TODO Register the
StaplerInstrumentationServletFilter
earlier in the chain of Filter
of the Jenkins webapp,
register it before the HudsonFilter
so that the AuditingSecurityListener
events can be associated to an HTTP trace.Instrumentation of the Stapler MVC framework.
Provide bindings for Groovy
Template
.Must be a
Filter
rather than a HttpServletFilter
because it must wrap the invocation of
the FilterChain
to ensure that the Span
is correctly associated with the current Context
.
LogLineIterator
instead