Documentation
¶
Index ¶
- func ResourceFunctions() map[string]ottl.Factory[ottlresource.TransformContext]
- func ScopeFunctions() map[string]ottl.Factory[ottlscope.TransformContext]
- type ContextID
- type ContextStatements
- type LogParserCollection
- type LogParserCollectionOption
- type MetricParserCollection
- type MetricParserCollectionOption
- func WithDataPointParser(functions map[string]ottl.Factory[ottldatapoint.TransformContext]) MetricParserCollectionOption
- func WithMetricErrorMode(errorMode ottl.ErrorMode) MetricParserCollectionOption
- func WithMetricParser(functions map[string]ottl.Factory[ottlmetric.TransformContext]) MetricParserCollectionOption
- type TraceParserCollection
- type TraceParserCollectionOption
- func WithSpanEventParser(functions map[string]ottl.Factory[ottlspanevent.TransformContext]) TraceParserCollectionOption
- func WithSpanParser(functions map[string]ottl.Factory[ottlspan.TransformContext]) TraceParserCollectionOption
- func WithTraceErrorMode(errorMode ottl.ErrorMode) TraceParserCollectionOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceFunctions ¶ added in v0.64.0
func ResourceFunctions() map[string]ottl.Factory[ottlresource.TransformContext]
func ScopeFunctions ¶ added in v0.64.0
func ScopeFunctions() map[string]ottl.Factory[ottlscope.TransformContext]
Types ¶
type ContextID ¶ added in v0.64.0
type ContextID string
func (*ContextID) UnmarshalText ¶ added in v0.64.0
type ContextStatements ¶ added in v0.64.0
type LogParserCollection ¶ added in v0.64.0
type LogParserCollection struct {
// contains filtered or unexported fields
}
func NewLogParserCollection ¶ added in v0.64.0
func NewLogParserCollection(settings component.TelemetrySettings, options ...LogParserCollectionOption) (*LogParserCollection, error)
func (LogParserCollection) ParseContextStatements ¶ added in v0.64.0
func (pc LogParserCollection) ParseContextStatements(contextStatements ContextStatements) (consumer.Logs, error)
type LogParserCollectionOption ¶ added in v0.64.0
type LogParserCollectionOption func(*LogParserCollection) error
func WithLogErrorMode ¶ added in v0.73.0
func WithLogErrorMode(errorMode ottl.ErrorMode) LogParserCollectionOption
func WithLogParser ¶ added in v0.65.0
func WithLogParser(functions map[string]ottl.Factory[ottllog.TransformContext]) LogParserCollectionOption
type MetricParserCollection ¶ added in v0.64.0
type MetricParserCollection struct {
// contains filtered or unexported fields
}
func NewMetricParserCollection ¶ added in v0.64.0
func NewMetricParserCollection(settings component.TelemetrySettings, options ...MetricParserCollectionOption) (*MetricParserCollection, error)
func (MetricParserCollection) ParseContextStatements ¶ added in v0.64.0
func (pc MetricParserCollection) ParseContextStatements(contextStatements ContextStatements) (consumer.Metrics, error)
type MetricParserCollectionOption ¶ added in v0.64.0
type MetricParserCollectionOption func(*MetricParserCollection) error
func WithDataPointParser ¶ added in v0.65.0
func WithDataPointParser(functions map[string]ottl.Factory[ottldatapoint.TransformContext]) MetricParserCollectionOption
func WithMetricErrorMode ¶ added in v0.73.0
func WithMetricErrorMode(errorMode ottl.ErrorMode) MetricParserCollectionOption
func WithMetricParser ¶ added in v0.65.0
func WithMetricParser(functions map[string]ottl.Factory[ottlmetric.TransformContext]) MetricParserCollectionOption
type TraceParserCollection ¶ added in v0.64.0
type TraceParserCollection struct {
// contains filtered or unexported fields
}
func NewTraceParserCollection ¶ added in v0.64.0
func NewTraceParserCollection(settings component.TelemetrySettings, options ...TraceParserCollectionOption) (*TraceParserCollection, error)
func (TraceParserCollection) ParseContextStatements ¶ added in v0.64.0
func (pc TraceParserCollection) ParseContextStatements(contextStatements ContextStatements) (consumer.Traces, error)
type TraceParserCollectionOption ¶ added in v0.64.0
type TraceParserCollectionOption func(*TraceParserCollection) error
func WithSpanEventParser ¶ added in v0.65.0
func WithSpanEventParser(functions map[string]ottl.Factory[ottlspanevent.TransformContext]) TraceParserCollectionOption
func WithSpanParser ¶ added in v0.65.0
func WithSpanParser(functions map[string]ottl.Factory[ottlspan.TransformContext]) TraceParserCollectionOption
func WithTraceErrorMode ¶ added in v0.73.0
func WithTraceErrorMode(errorMode ottl.ErrorMode) TraceParserCollectionOption
Click to show internal directories.
Click to hide internal directories.