 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func AggregateOnAttributes(aggregationFunction aggregateutil.AggregationType, ...) (ottl.ExprFunc[ottlmetric.TransformContext], error)
- func DataPointFunctions() map[string]ottl.Factory[ottldatapoint.TransformContext]
- func MetricFunctions() map[string]ottl.Factory[ottlmetric.TransformContext]
- func Scale(args ScaleArguments) (ottl.ExprFunc[ottlmetric.TransformContext], error)
- type Processor
- type ScaleArguments
- type SumCountDataPoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregateOnAttributes ¶ added in v0.106.0
func AggregateOnAttributes(aggregationFunction aggregateutil.AggregationType, attributes ottl.Optional[[]string]) (ottl.ExprFunc[ottlmetric.TransformContext], error)
func DataPointFunctions ¶ added in v0.65.0
func DataPointFunctions() map[string]ottl.Factory[ottldatapoint.TransformContext]
func MetricFunctions ¶ added in v0.65.0
func MetricFunctions() map[string]ottl.Factory[ottlmetric.TransformContext]
func Scale ¶ added in v0.106.0
func Scale(args ScaleArguments) (ottl.ExprFunc[ottlmetric.TransformContext], error)
Types ¶
type Processor ¶ added in v0.52.0
type Processor struct {
	// contains filtered or unexported fields
}
    func NewProcessor ¶ added in v0.52.0
func NewProcessor(contextStatements []common.ContextStatements, errorMode ottl.ErrorMode, settings component.TelemetrySettings) (*Processor, error)
type ScaleArguments ¶ added in v0.106.0
type ScaleArguments struct {
	Multiplier float64
	Unit       ottl.Optional[ottl.StringGetter[ottlmetric.TransformContext]]
}
    type SumCountDataPoint ¶ added in v0.83.0
type SumCountDataPoint interface {
	Attributes() pcommon.Map
	Sum() float64
	Count() uint64
	StartTimestamp() pcommon.Timestamp
	Timestamp() pcommon.Timestamp
}
    this interface helps unify the logic for extracting data from different histogram types all supported metric types' datapoints implement it
       Source Files
      ¶
      Source Files
      ¶
    
- func_aggregate_on_attributes_metrics.go
- func_convert_gauge_to_sum.go
- func_convert_gauge_to_sum_datapoint.go
- func_convert_sum_to_gauge.go
- func_convert_sum_to_gauge_datapoint.go
- func_convert_summary_count_val_to_sum.go
- func_convert_summary_sum_val_to_sum.go
- func_copy_metric.go
- func_extract_count_metric.go
- func_extract_sum_metric.go
- func_scale.go
- functions.go
- processor.go
 Click to show internal directories. 
   Click to hide internal directories.