Documentation ¶
Index ¶
- Variables
- func GetMapValue(attrs pcommon.Map, mapKey string) interface{}
- func GetValue(val pcommon.Value) interface{}
- func MetricPathGetSetter[K MetricContext](path []ottl.Field) (ottl.GetSetter[K], error)
- func ParseSpanID(spanIDStr string) (pcommon.SpanID, error)
- func ParseTraceID(traceIDStr string) (pcommon.TraceID, error)
- func ResourcePathGetSetter[K ResourceContext](path []ottl.Field) (ottl.GetSetter[K], error)
- func ScopePathGetSetter[K InstrumentationScopeContext](path []ottl.Field) (ottl.GetSetter[K], error)
- func SetMapValue(attrs pcommon.Map, mapKey string, val interface{})
- func SetValue(value pcommon.Value, val interface{})
- func SpanPathGetSetter[K SpanContext](path []ottl.Field) (ottl.GetSetter[K], error)
- type InstrumentationScopeContext
- type MetricContext
- type ResourceContext
- type SpanContext
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricSymbolTable = map[ottl.EnumSymbol]ottl.Enum{ "AGGREGATION_TEMPORALITY_UNSPECIFIED": ottl.Enum(pmetric.AggregationTemporalityUnspecified), "AGGREGATION_TEMPORALITY_DELTA": ottl.Enum(pmetric.AggregationTemporalityDelta), "AGGREGATION_TEMPORALITY_CUMULATIVE": ottl.Enum(pmetric.AggregationTemporalityCumulative), "METRIC_DATA_TYPE_NONE": ottl.Enum(pmetric.MetricTypeEmpty), "METRIC_DATA_TYPE_GAUGE": ottl.Enum(pmetric.MetricTypeGauge), "METRIC_DATA_TYPE_SUM": ottl.Enum(pmetric.MetricTypeSum), "METRIC_DATA_TYPE_HISTOGRAM": ottl.Enum(pmetric.MetricTypeHistogram), "METRIC_DATA_TYPE_EXPONENTIAL_HISTOGRAM": ottl.Enum(pmetric.MetricTypeExponentialHistogram), "METRIC_DATA_TYPE_SUMMARY": ottl.Enum(pmetric.MetricTypeSummary), }
View Source
var SpanSymbolTable = map[ottl.EnumSymbol]ottl.Enum{ "SPAN_KIND_UNSPECIFIED": ottl.Enum(ptrace.SpanKindUnspecified), "SPAN_KIND_INTERNAL": ottl.Enum(ptrace.SpanKindInternal), "SPAN_KIND_SERVER": ottl.Enum(ptrace.SpanKindServer), "SPAN_KIND_CLIENT": ottl.Enum(ptrace.SpanKindClient), "SPAN_KIND_PRODUCER": ottl.Enum(ptrace.SpanKindProducer), "SPAN_KIND_CONSUMER": ottl.Enum(ptrace.SpanKindConsumer), "STATUS_CODE_UNSET": ottl.Enum(ptrace.StatusCodeUnset), "STATUS_CODE_OK": ottl.Enum(ptrace.StatusCodeOk), "STATUS_CODE_ERROR": ottl.Enum(ptrace.StatusCodeError), }
Functions ¶
func GetMapValue ¶
func MetricPathGetSetter ¶ added in v0.63.0
func ResourcePathGetSetter ¶
func ScopePathGetSetter ¶
func SetMapValue ¶
func SpanPathGetSetter ¶ added in v0.64.0
Types ¶
type InstrumentationScopeContext ¶ added in v0.62.0
type InstrumentationScopeContext interface {
GetInstrumentationScope() pcommon.InstrumentationScope
}
type MetricContext ¶ added in v0.63.0
type ResourceContext ¶ added in v0.62.0
type SpanContext ¶ added in v0.64.0
Click to show internal directories.
Click to hide internal directories.