Documentation ¶
Index ¶
- Variables
- func GetMapValue(m pcommon.Map, keys []ottl.Key) (interface{}, error)
- 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(m pcommon.Map, keys []ottl.Key, val interface{}) error
- func SetValue(value pcommon.Value, val interface{}) error
- 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 ¶ added in v0.77.0
func MetricPathGetSetter ¶
func ResourcePathGetSetter ¶
func ScopePathGetSetter ¶
func SetMapValue ¶ added in v0.77.0
func SpanPathGetSetter ¶
Types ¶
type InstrumentationScopeContext ¶
type InstrumentationScopeContext interface {
GetInstrumentationScope() pcommon.InstrumentationScope
}
type MetricContext ¶
type ResourceContext ¶
type SpanContext ¶
Click to show internal directories.
Click to hide internal directories.