Class ObservabilityBackend
java.lang.Object
io.jenkins.plugins.opentelemetry.backend.ObservabilityBackend
- All Implemented Interfaces:
ExtensionPoint,Describable<ObservabilityBackend>,TemplateBindingsProvider
- Direct Known Subclasses:
CustomObservabilityBackend,DynatraceBackend,DynatraceGrailBackend,ElasticBackend,GrafanaBackend,JaegerBackend,ZipkinBackend
public abstract class ObservabilityBackend
extends Object
implements Describable<ObservabilityBackend>, ExtensionPoint, TemplateBindingsProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfaceList the attribute keys of the template bindings exposed bygetBindings()Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DescriptorExtensionList<ObservabilityBackend, ObservabilityBackend.ObservabilityBackendDescriptor> Returns all the registeredObservabilityBackenddescriptors.abstract booleanabstract Stringabstract Stringabstract StringgetMetricsVisualizationUrl(io.opentelemetry.sdk.resources.Resource resource) abstract StringgetName()Returns the specified backend name or the default name.Extension point for Observability backends to contribute to the configuration properties used to instantiate the OpenTelemetry SDK.getTraceVisualisationUrl(Map<String, Object> bindings) abstract Stringabstract inthashCode()mergeBindings(Map<String, Object> bindings) For extensionsnewLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) void
-
Field Details
-
ICONS_PREFIX
- See Also:
-
ERROR_TEMPLATE
public static final groovy.text.Template ERROR_TEMPLATE
-
-
Constructor Details
-
ObservabilityBackend
public ObservabilityBackend()
-
-
Method Details
-
getTraceVisualisationUrlTemplate
-
getMetricsVisualizationUrlTemplate
-
getIconPath
-
getEnvVariableName
-
getDefaultName
-
equals
-
hashCode
public abstract int hashCode() -
newLogStorageRetriever
@CheckForNull @MustBeClosed public LogStorageRetriever newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) - Returns:
- the
LogStorageRetrieverof this backend if the backend is configured to retrieve logs.nullotherwise.
-
mergeBindings
For extensions -
getName
Returns the specified backend name or the default name. Notnullor empty. -
setName
-
getTraceVisualisationUrl
- Returns:
nullif nogetTraceVisualisationUrlTemplate()has been defined or if thegetMetricsVisualizationUrlTemplate()has a syntax error
-
getMetricsVisualizationUrl
-
getBindings
- Specified by:
getBindingsin interfaceTemplateBindingsProvider
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<ObservabilityBackend>
-
allDescriptors
public static DescriptorExtensionList<ObservabilityBackend,ObservabilityBackend.ObservabilityBackendDescriptor> allDescriptors()Returns all the registeredObservabilityBackenddescriptors. Used by the GUI -
getOtelConfigurationProperties
Extension point for Observability backends to contribute to the configuration properties used to instantiate the OpenTelemetry SDK.
-