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)
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.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |