Index

A B C E F G I L O R S T V 
All Classes and Interfaces|All Packages

A

addLogRecordProcessor(LogRecordProcessor) - Method in class io.opentelemetry.sdk.logs.SdkLoggerProviderBuilder
Add a log processor.
asString() - Method in interface io.opentelemetry.sdk.logs.data.Body
Returns the String value of this Body.

B

BatchLogRecordProcessor - Class in io.opentelemetry.sdk.logs.export
Implementation of the LogRecordProcessor that batches logs exported by the SDK then pushes them to the exporter pipeline.
BatchLogRecordProcessorBuilder - Class in io.opentelemetry.sdk.logs.export
Builder class for BatchLogRecordProcessor.
Body - Interface in io.opentelemetry.sdk.logs.data
This represents all the possible values for a log message body.
Body.Type - Enum in io.opentelemetry.sdk.logs.data
An enum that represents all the possible value types for an Body.
build() - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Returns a new BatchLogRecordProcessor that batches, then forwards them to the given logRecordExporter.
build() - Method in class io.opentelemetry.sdk.logs.LogLimitsBuilder
Builds and returns a LogLimits with the values of this builder.
build() - Method in class io.opentelemetry.sdk.logs.SdkLoggerProviderBuilder
Create a SdkLoggerProvider instance.
builder() - Static method in class io.opentelemetry.sdk.logs.LogLimits
Returns a new LogLimitsBuilder to construct a LogLimits.
builder() - Static method in class io.opentelemetry.sdk.logs.SdkLoggerProvider
builder(LogRecordExporter) - Static method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor
Returns a new Builder for BatchLogRecordProcessor.

C

close() - Method in interface io.opentelemetry.sdk.logs.export.LogRecordExporter
Closes this LogRecordExporter, releasing any resources.
close() - Method in interface io.opentelemetry.sdk.logs.LogRecordProcessor
Closes this LogRecordProcessor after processing any remaining log records, releasing any resources.
close() - Method in class io.opentelemetry.sdk.logs.SdkLoggerProvider
 
composite(LogRecordExporter...) - Static method in interface io.opentelemetry.sdk.logs.export.LogRecordExporter
Returns a LogRecordExporter which delegates all exports to the exporters in order.
composite(LogRecordProcessor...) - Static method in interface io.opentelemetry.sdk.logs.LogRecordProcessor
Returns a LogRecordProcessor which simply delegates to all processing to the processors in order.
composite(Iterable<LogRecordExporter>) - Static method in interface io.opentelemetry.sdk.logs.export.LogRecordExporter
Returns a LogRecordExporter which delegates all exports to the exporters in order.
composite(Iterable<LogRecordProcessor>) - Static method in interface io.opentelemetry.sdk.logs.LogRecordProcessor
Returns a LogRecordProcessor which simply delegates to all processing to the processors in order.
create(LogRecordExporter) - Static method in class io.opentelemetry.sdk.logs.export.SimpleLogRecordProcessor
Returns a new SimpleLogRecordProcessor which exports logs to the LogRecordExporter synchronously.

E

empty() - Static method in interface io.opentelemetry.sdk.logs.data.Body
Return an empty Body.
EMPTY - Enum constant in enum io.opentelemetry.sdk.logs.data.Body.Type
 
export(Collection<LogRecordData>) - Method in interface io.opentelemetry.sdk.logs.export.LogRecordExporter
Exports the collections of given LogRecordData.

F

flush() - Method in interface io.opentelemetry.sdk.logs.export.LogRecordExporter
Exports the collection of LogRecordData that have not yet been exported.
forceFlush() - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor
 
forceFlush() - Method in class io.opentelemetry.sdk.logs.export.SimpleLogRecordProcessor
 
forceFlush() - Method in interface io.opentelemetry.sdk.logs.LogRecordProcessor
Process all log records that have not yet been processed.
forceFlush() - Method in class io.opentelemetry.sdk.logs.SdkLoggerProvider
Request the active log processor to process all logs that have not yet been processed.

G

get(String) - Method in class io.opentelemetry.sdk.logs.SdkLoggerProvider
 
getAttributes() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the attributes for this log, or Attributes.empty() if unset.
getBody() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the body for this log, or Body.empty() if unset.
getDefault() - Static method in class io.opentelemetry.sdk.logs.LogLimits
Returns the default LogLimits.
getInstrumentationScopeInfo() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the instrumentation scope that generated this log.
getMaxAttributeValueLength() - Method in class io.opentelemetry.sdk.logs.LogLimits
Returns the max number of characters for string attribute values.
getMaxNumberOfAttributes() - Method in class io.opentelemetry.sdk.logs.LogLimits
Returns the max number of attributes per LogRecordData.
getObservedTimestampEpochNanos() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the timestamp at which the log record was observed, in epoch nanos.
getResource() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the resource of this log.
getSeverity() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the severity for this log, or Severity.UNDEFINED_SEVERITY_NUMBER if unset.
getSeverityText() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the severity text for this log, or null if unset.
getSpanContext() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Return the span context for this log, or SpanContext.getInvalid() if unset.
getTimestampEpochNanos() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the timestamp at which the log record occurred, in epoch nanos.
getTotalAttributeCount() - Method in interface io.opentelemetry.sdk.logs.data.LogRecordData
Returns the total number of attributes that were recorded on this log.
getType() - Method in interface io.opentelemetry.sdk.logs.data.Body
Returns the type of the Body.

I

io.opentelemetry.sdk.logs - package io.opentelemetry.sdk.logs
The OpenTelemetry SDK implementation of logging.
io.opentelemetry.sdk.logs.data - package io.opentelemetry.sdk.logs.data
The data format to model logs for export.
io.opentelemetry.sdk.logs.export - package io.opentelemetry.sdk.logs.export
Log exporters.

L

loggerBuilder(String) - Method in class io.opentelemetry.sdk.logs.SdkLoggerProvider
 
LogLimits - Class in io.opentelemetry.sdk.logs
Class that holds limits enforced during log recording.
LogLimitsBuilder - Class in io.opentelemetry.sdk.logs
Builder for LogLimits.
LogRecordData - Interface in io.opentelemetry.sdk.logs.data
Log definition as described in OpenTelemetry Log Data Model.
LogRecordExporter - Interface in io.opentelemetry.sdk.logs.export
An exporter is responsible for taking a collection of LogRecordDatas and transmitting them to their ultimate destination.
LogRecordProcessor - Interface in io.opentelemetry.sdk.logs
LogRecordProcessor is the interface to allow synchronous hooks for log records emitted by Loggers.

O

onEmit(Context, ReadWriteLogRecord) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor
 
onEmit(Context, ReadWriteLogRecord) - Method in class io.opentelemetry.sdk.logs.export.SimpleLogRecordProcessor
 
onEmit(Context, ReadWriteLogRecord) - Method in interface io.opentelemetry.sdk.logs.LogRecordProcessor
Called when a Logger LogRecordBuilder.emit()s a log record.

R

ReadWriteLogRecord - Interface in io.opentelemetry.sdk.logs
A log record that can be read from and written to.

S

SdkLoggerProvider - Class in io.opentelemetry.sdk.logs
SDK implementation for LoggerProvider.
SdkLoggerProviderBuilder - Class in io.opentelemetry.sdk.logs
Builder class for SdkLoggerProvider instances.
setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.sdk.logs.ReadWriteLogRecord
Sets an attribute on the log record.
setClock(Clock) - Method in class io.opentelemetry.sdk.logs.SdkLoggerProviderBuilder
Assign a Clock.
setExporterTimeout(long, TimeUnit) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Sets the maximum time an export will be allowed to run before being cancelled.
setExporterTimeout(Duration) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Sets the maximum time an export will be allowed to run before being cancelled.
setLogLimits(Supplier<LogLimits>) - Method in class io.opentelemetry.sdk.logs.SdkLoggerProviderBuilder
Assign a Supplier of LogLimits.
setMaxAttributeValueLength(int) - Method in class io.opentelemetry.sdk.logs.LogLimitsBuilder
Sets the max number of characters for string attribute values.
setMaxExportBatchSize(int) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Sets the maximum batch size for every export.
setMaxNumberOfAttributes(int) - Method in class io.opentelemetry.sdk.logs.LogLimitsBuilder
Sets the max number of attributes per LogRecordData.
setMaxQueueSize(int) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Sets the maximum number of Logs that are kept in the queue before start dropping.
setMeterProvider(MeterProvider) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Sets the MeterProvider to use to collect metrics related to batch export.
setResource(Resource) - Method in class io.opentelemetry.sdk.logs.SdkLoggerProviderBuilder
Assign a Resource to be attached to all LogRecordData created by Loggers obtained from the SdkLoggerProvider.
setScheduleDelay(long, TimeUnit) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Sets the delay interval between two consecutive exports.
setScheduleDelay(Duration) - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessorBuilder
Sets the delay interval between two consecutive exports.
shutdown() - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor
 
shutdown() - Method in interface io.opentelemetry.sdk.logs.export.LogRecordExporter
Shutdown the log exporter.
shutdown() - Method in class io.opentelemetry.sdk.logs.export.SimpleLogRecordProcessor
 
shutdown() - Method in interface io.opentelemetry.sdk.logs.LogRecordProcessor
Shutdown the log processor.
shutdown() - Method in class io.opentelemetry.sdk.logs.SdkLoggerProvider
Attempt to shut down the active log processor.
SimpleLogRecordProcessor - Class in io.opentelemetry.sdk.logs.export
An implementation of the LogRecordProcessor that passes LogRecordData directly to the configured exporter.
string(String) - Static method in interface io.opentelemetry.sdk.logs.data.Body
Returns an Body with a string value.
STRING - Enum constant in enum io.opentelemetry.sdk.logs.data.Body.Type
 

T

toBuilder() - Method in class io.opentelemetry.sdk.logs.LogLimits
Returns a LogLimitsBuilder initialized to the same property values as the current instance.
toLogRecordData() - Method in interface io.opentelemetry.sdk.logs.ReadWriteLogRecord
Return an immutable LogRecordData instance representing this log record.
toString() - Method in class io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor
 
toString() - Method in class io.opentelemetry.sdk.logs.export.SimpleLogRecordProcessor
 
toString() - Method in class io.opentelemetry.sdk.logs.SdkLoggerProvider
 

V

valueOf(String) - Static method in enum io.opentelemetry.sdk.logs.data.Body.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.opentelemetry.sdk.logs.data.Body.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E F G I L O R S T V 
All Classes and Interfaces|All Packages