Class GrafanaLogsBackend
java.lang.Object
hudson.model.AbstractDescribableImpl<GrafanaLogsBackend>
io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
- All Implemented Interfaces:
ExtensionPoint
,Describable<GrafanaLogsBackend>
- Direct Known Subclasses:
GrafanaLogsBackendBackendWithLogMirroringInJenkins
,GrafanaLogsBackendWithJenkinsVisualization
,GrafanaLogsBackendWithoutJenkinsVisualization
,NoGrafanaLogsBackend
public abstract class GrafanaLogsBackend
extends AbstractDescribableImpl<GrafanaLogsBackend>
implements Describable<GrafanaLogsBackend>, ExtensionPoint
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
Returns all the registeredGrafanaLogsBackend
descriptors.groovy.text.Template
groovy.text.Template
abstract LogStorageRetriever
newLogStorageRetriever
(TemplateBindingsProvider templateBindingsProvider) Returnsnull
if the backend is not capable of retrieving logs(ie theNoGrafanaLogsBackend
void
setLokiOTelLogFormat
(String lokiOTelLogFormat)
-
Field Details
-
lokiOTelLogFormat
-
-
Constructor Details
-
GrafanaLogsBackend
public GrafanaLogsBackend()
-
-
Method Details
-
newLogStorageRetriever
@CheckForNull @MustBeClosed public abstract LogStorageRetriever newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) Returnsnull
if the backend is not capable of retrieving logs(ie theNoGrafanaLogsBackend
-
getBuildLogsVisualizationMessageTemplate
@NonNull public groovy.text.Template getBuildLogsVisualizationMessageTemplate() -
getBuildLogsVisualizationUrlTemplate
@NonNull public groovy.text.Template getBuildLogsVisualizationUrlTemplate() -
getOtelConfigurationProperties
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<GrafanaLogsBackend>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<GrafanaLogsBackend>
-
getLokiOTelLogFormat
-
setLokiOTelLogFormat
-
all
Returns all the registeredGrafanaLogsBackend
descriptors.
-