Documentation ¶
Overview ¶
nolint:gocritic
Index ¶
- func ParseEnum(val *tql.EnumSymbol) (*tql.Enum, error)
- func ParsePath(val *tql.Path) (tql.GetSetter, error)
- type TransformContext
- func (ctx TransformContext) GetInstrumentationScope() pcommon.InstrumentationScope
- func (ctx TransformContext) GetItem() interface{}
- func (ctx TransformContext) GetMetric() pmetric.Metric
- func (ctx TransformContext) GetMetrics() pmetric.MetricSlice
- func (ctx TransformContext) GetResource() pcommon.Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TransformContext ¶ added in v0.59.0
type TransformContext struct {
// contains filtered or unexported fields
}
func NewTransformContext ¶ added in v0.59.0
func NewTransformContext(dataPoint interface{}, metric pmetric.Metric, metrics pmetric.MetricSlice, instrumentationScope pcommon.InstrumentationScope, resource pcommon.Resource) TransformContext
func (TransformContext) GetInstrumentationScope ¶ added in v0.59.0
func (ctx TransformContext) GetInstrumentationScope() pcommon.InstrumentationScope
func (TransformContext) GetItem ¶ added in v0.59.0
func (ctx TransformContext) GetItem() interface{}
func (TransformContext) GetMetric ¶ added in v0.59.0
func (ctx TransformContext) GetMetric() pmetric.Metric
func (TransformContext) GetMetrics ¶ added in v0.59.0
func (ctx TransformContext) GetMetrics() pmetric.MetricSlice
func (TransformContext) GetResource ¶ added in v0.59.0
func (ctx TransformContext) GetResource() pcommon.Resource
Click to show internal directories.
Click to hide internal directories.