Class GrafanaLogsBackendWithJenkinsVisualization
java.lang.Object
hudson.model.AbstractDescribableImpl<GrafanaLogsBackend>
io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackendWithJenkinsVisualization
- All Implemented Interfaces:
ExtensionPoint,Describable<GrafanaLogsBackend>,TemplateBindingsProvider
public class GrafanaLogsBackendWithJenkinsVisualization
extends GrafanaLogsBackend
implements TemplateBindingsProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
GrafanaLogsBackend.LokiOTelLogFormatNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleannewLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) Returnsnullif the backend is not capable of retrieving logs(ie theNoGrafanaLogsBackendvoidsetDisableSslVerifications(boolean disableSslVerifications) voidsetGrafanaLokiDatasourceIdentifier(String grafanaLokiDatasourceIdentifier) voidsetLokiCredentialsId(String lokiCredentialsId) voidsetLokiTenantId(String lokiTenantId) voidsetLokiUrl(String lokiUrl) toString()Methods inherited from class io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
all, getBuildLogsVisualizationMessageTemplate, getBuildLogsVisualizationUrlTemplate, getDescriptor, getLokiOTelLogFormat, getOtelConfigurationProperties, setLokiOTelLogFormat
-
Constructor Details
-
GrafanaLogsBackendWithJenkinsVisualization
@DataBoundConstructor public GrafanaLogsBackendWithJenkinsVisualization()
-
-
Method Details
-
getGrafanaLokiDatasourceIdentifier
-
setGrafanaLokiDatasourceIdentifier
@DataBoundSetter public void setGrafanaLokiDatasourceIdentifier(String grafanaLokiDatasourceIdentifier) -
newLogStorageRetriever
@MustBeClosed public LogStorageRetriever newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) Description copied from class:GrafanaLogsBackendReturnsnullif the backend is not capable of retrieving logs(ie theNoGrafanaLogsBackend- Specified by:
newLogStorageRetrieverin classGrafanaLogsBackend
-
getLokiUrl
-
setLokiUrl
-
isDisableSslVerifications
public boolean isDisableSslVerifications() -
setDisableSslVerifications
@DataBoundSetter public void setDisableSslVerifications(boolean disableSslVerifications) -
getLokiTenantId
-
setLokiTenantId
-
getLokiCredentialsId
-
setLokiCredentialsId
-
equals
-
hashCode
public int hashCode() -
toString
-
getBindings
- Specified by:
getBindingsin interfaceTemplateBindingsProvider
-