Documentation ¶
Index ¶
- func AcceptDataPoint(tsn BaseDataPoint, a *All) bool
- func AcceptResource(r BaseResource, a *All) bool
- func AcceptScope(schema string, r *commonV1.InstrumentationScope, a *All) bool
- func VisitData(data *v1.Data, a *All) *v1.Data
- type All
- func (a *All) AcceptAttributes(attr []*commonV1.KeyValue) bool
- func (a *All) AcceptLogLevel(lvl string) bool
- func (a *All) AcceptName(name string) bool
- func (a *All) AcceptParentSpanID(id []byte) bool
- func (a *All) AcceptResourceAttributes(kv []*commonV1.KeyValue) bool
- func (a *All) AcceptResourceSchema(schema string) bool
- func (a *All) AcceptScopeAttributes(attr []*commonV1.KeyValue) bool
- func (a *All) AcceptScopeName(name string) bool
- func (a *All) AcceptScopeSchema(schema string) bool
- func (a *All) AcceptScopeVersion(version string) bool
- func (a *All) AcceptSpanID(id []byte) bool
- func (a *All) AcceptTimestamp(ts uint64) bool
- func (a *All) AcceptTraceID(id []byte) bool
- func (a *All) Release()
- func (a *All) Reset()
- func (a *All) SetAttr(k, v string)
- func (a *All) SetLogLevel(lvl string)
- func (a *All) SetName(name string)
- func (a *All) SetParentSpanID(id string) error
- func (a *All) SetResourceAttr(k, v string)
- func (a *All) SetResourceSchema(schema string)
- func (a *All) SetScopVersion(version string)
- func (a *All) SetScopeAttr(k, v string)
- func (a *All) SetScopeName(name string)
- func (a *All) SetScopeSchema(schema string)
- func (a *All) SetSpanID(id string) error
- func (a *All) SetTimeRange(start, end uint64)
- func (a *All) SetTraceID(id string) error
- func (a *All) TimeRange() (start, end uint64)
- type BaseDataPoint
- type BaseResource
- type Logs
- type Metrics
- type Trace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptDataPoint ¶
func AcceptDataPoint(tsn BaseDataPoint, a *All) bool
We pass start and end to avoid calling TimeRange on each data point
func AcceptResource ¶
func AcceptResource(r BaseResource, a *All) bool
func AcceptScope ¶
func AcceptScope(schema string, r *commonV1.InstrumentationScope, a *All) bool
Types ¶
type All ¶
type All struct {
// contains filtered or unexported fields
}
func (*All) AcceptLogLevel ¶
func (*All) AcceptName ¶
func (*All) AcceptParentSpanID ¶
func (*All) AcceptResourceAttributes ¶
func (*All) AcceptResourceSchema ¶
func (*All) AcceptScopeAttributes ¶
func (*All) AcceptScopeName ¶
func (*All) AcceptScopeSchema ¶
func (*All) AcceptScopeVersion ¶
func (*All) AcceptSpanID ¶
func (*All) AcceptTimestamp ¶
func (*All) AcceptTraceID ¶
func (*All) SetLogLevel ¶
func (*All) SetParentSpanID ¶
func (*All) SetResourceAttr ¶
func (*All) SetResourceSchema ¶
func (*All) SetScopVersion ¶
func (*All) SetScopeAttr ¶
func (*All) SetScopeName ¶
func (*All) SetScopeSchema ¶
func (*All) SetTimeRange ¶
func (*All) SetTraceID ¶
type BaseDataPoint ¶
type BaseResource ¶
type BaseResource interface { GetSchemaUrl() string GetResource() *resourceV1.Resource }
type Metrics ¶
type Metrics struct{}
func (Metrics) Visit ¶
func (Metrics) Visit(data *metricsV1.MetricsData, visitor *All) *metricsV1.MetricsData
type Trace ¶
type Trace struct{}
func (Trace) Visit ¶
func (Trace) Visit(data *tracev1.TracesData, visitor *All) *tracev1.TracesData
Click to show internal directories.
Click to hide internal directories.