Documentation ¶
Index ¶
- func NewFactory() extension.Factory
- type Config
- type RWMap
- type TraceCacheExtension
- func (tce *TraceCacheExtension) CacheTrace(traces ptrace.Traces) map[pcommon.TraceID]tracecache.SpanMapping
- func (tce *TraceCacheExtension) HasConnector() bool
- func (tce *TraceCacheExtension) IsEnable() bool
- func (tce *TraceCacheExtension) SetConnector(connector tracecache.Connector)
- func (tce *TraceCacheExtension) SetSampler(sampler tracecache.Sampler) error
- func (tce *TraceCacheExtension) Shutdown(context.Context) error
- func (tce *TraceCacheExtension) Start(context.Context, component.Host) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type RWMap ¶
type RWMap[K comparable, V any] struct { sync.RWMutex // contains filtered or unexported fields }
func NewRWMap ¶
func NewRWMap[K comparable, V any]() *RWMap[K, V]
func (*RWMap[K, V]) LoadOrStore ¶
type TraceCacheExtension ¶
type TraceCacheExtension struct {
// contains filtered or unexported fields
}
func (*TraceCacheExtension) CacheTrace ¶
func (tce *TraceCacheExtension) CacheTrace(traces ptrace.Traces) map[pcommon.TraceID]tracecache.SpanMapping
func (*TraceCacheExtension) HasConnector ¶
func (tce *TraceCacheExtension) HasConnector() bool
func (*TraceCacheExtension) IsEnable ¶
func (tce *TraceCacheExtension) IsEnable() bool
func (*TraceCacheExtension) SetConnector ¶
func (tce *TraceCacheExtension) SetConnector(connector tracecache.Connector)
func (*TraceCacheExtension) SetSampler ¶
func (tce *TraceCacheExtension) SetSampler(sampler tracecache.Sampler) error
Click to show internal directories.
Click to hide internal directories.