package observ

Import Path
	go.opentelemetry.io/otel/sdk/log/internal/observ (on go.dev)

Dependency Relation
	imports 11 packages, and imported by one package

Involved Source Files Package observ provides observability instrumentation for the OTel log SDK package. simple_log_processor.go
Package-Level Type Names (only one)
/* sort by: | */
SLP is the instrumentation for an OTel SDK SimpleLogProcessor. LogProcessed records that a log has been processed by the SimpleLogProcessor. If err is non-nil, it records the processing error as an attribute. func NewSLP(id int64) (*SLP, error)
Package-Level Functions (total 4)
GetSLPComponentName returns the component name attribute for a SimpleLogProcessor with the given ID.
NewSLP returns instrumentation for an OTel SDK SimpleLogProcessor with the provided ID. If the experimental observability is disabled, nil is returned.
NextSimpleProcessorID returns the next unique ID for a simpleProcessor.
SetSimpleProcessorID sets the exporter ID counter to v and returns the previous value. This function is useful for testing purposes, allowing you to reset the counter. It should not be used in production code.
Package-Level Constants (only one)
ScopeName is the name of the instrumentation scope.