Class GrafanaLogsBackendBackendWithLogMirroringInJenkins
java.lang.Object
hudson.model.AbstractDescribableImpl<GrafanaLogsBackend>
io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackendBackendWithLogMirroringInJenkins
- All Implemented Interfaces:
ExtensionPoint
,Describable<GrafanaLogsBackend>
Store pipeline logs both in Loki and in the Jenkins home directory. Visualization of logs is done retrieving logs
from the Jenkins home directory.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
GrafanaLogsBackend.LokiOTelLogFormat
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
lokiOTelLogFormat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Activate the log mirroring to disk in addition to activation of the OTel export of pipeline logs done by theGrafanaLogsBackend.getOtelConfigurationProperties()
int
hashCode()
newLogStorageRetriever
(TemplateBindingsProvider templateBindingsProvider) Logs should be retrieved from the Jenkins home, not from LokiMethods inherited from class io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
all, getBuildLogsVisualizationMessageTemplate, getBuildLogsVisualizationUrlTemplate, getDescriptor, getLokiOTelLogFormat, setLokiOTelLogFormat
-
Constructor Details
-
GrafanaLogsBackendBackendWithLogMirroringInJenkins
@DataBoundConstructor public GrafanaLogsBackendBackendWithLogMirroringInJenkins()
-
-
Method Details
-
newLogStorageRetriever
public LogStorageRetriever newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) Logs should be retrieved from the Jenkins home, not from Loki- Specified by:
newLogStorageRetriever
in classGrafanaLogsBackend
- Returns:
null
-
getOtelConfigurationProperties
Activate the log mirroring to disk in addition to activation of the OTel export of pipeline logs done by theGrafanaLogsBackend.getOtelConfigurationProperties()
- Overrides:
getOtelConfigurationProperties
in classGrafanaLogsBackend
-
equals
-
hashCode
public int hashCode()
-