Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Comparisons = struct { Equals Comparison Contains Comparison StartsWith Comparison EndsWith Comparison DoesNotEqual Comparison DoesNotContain Comparison DoesNotStartWith Comparison DoesNotEndWith Comparison }{ Equals: Comparison("EQUALS"), Contains: Comparison("CONTAINS"), StartsWith: Comparison("STARTS_WITH"), EndsWith: Comparison("ENDS_WITH"), DoesNotEqual: Comparison("DOES_NOT_EQUAL"), DoesNotContain: Comparison("DOES_NOT_CONTAIN"), DoesNotStartWith: Comparison("DOES_NOT_START_WITH"), DoesNotEndWith: Comparison("DOES_NOT_END_WITH"), }
View Source
var Sources = struct { SpanName Source SpanKind Source Attribute Source InstrumentationLibraryName Source InstrumentationLibraryVersion Source InstrumentationScopeName Source InstrumentationScopeVersion Source }{ SpanName: Source("SPAN_NAME"), SpanKind: Source("SPAN_KIND"), Attribute: Source("ATTRIBUTE"), InstrumentationLibraryName: Source("INSTRUMENTATION_LIBRARY_NAME"), InstrumentationLibraryVersion: Source("INSTRUMENTATION_LIBRARY_VERSION"), InstrumentationScopeName: Source("INSTRUMENTATION_SCOPE_NAME"), InstrumentationScopeVersion: Source("INSTRUMENTATION_SCOPE_VERSION"), }
Functions ¶
This section is empty.
Types ¶
type Comparison ¶
type Comparison string
type SpanMatcher ¶
type SpanMatcher struct { Source Source `json:"source"` SpanKindValue *SpanKind `json:"spanKindValue"` Type Comparison `json:"type"` SourceKey *string `json:"sourceKey"` Value *string `json:"value"` CaseSensitive bool `json:"caseSensitive"` }
func (*SpanMatcher) MarshalHCL ¶
func (me *SpanMatcher) MarshalHCL(properties hcl.Properties) error
func (*SpanMatcher) UnmarshalHCL ¶
func (me *SpanMatcher) UnmarshalHCL(decoder hcl.Decoder) error
type SpanMatchers ¶
type SpanMatchers []*SpanMatcher
func (SpanMatchers) MarshalHCL ¶
func (me SpanMatchers) MarshalHCL(properties hcl.Properties) error
func (*SpanMatchers) UnmarshalHCL ¶
func (me *SpanMatchers) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.