Versions in this module Expand all Collapse all v0 v0.10.0 May 7, 2024 v0.9.0 Jan 21, 2024 v0.8.0 Jan 14, 2024 v0.7.0 Jan 10, 2024 v0.6.1 Jan 3, 2024 v0.6.0 Jan 3, 2024 v0.5.2 Dec 25, 2023 v0.5.1 Dec 21, 2023 v0.5.0 Dec 20, 2023 v0.4.0 Dec 17, 2023 v0.3.1 Dec 12, 2023 v0.3.0 Dec 12, 2023 v0.2.1 Dec 10, 2023 v0.2.0 Dec 10, 2023 v0.1.0 Dec 5, 2023 Changes in this version + type Appendable interface + AppendAttribute func(v pcommon.Value) + AppendZero func() + type AppendableColumn interface + type Attribute struct + Brief OptString + Examples OptExamples + ID string + Note OptString + RequirementLevel OptRequirementLevel + SamplingRelevant OptBool + Stability OptString + Tag OptString + Type AttributeType + func (s *Attribute) Decode(d *jx.Decoder) error + func (s *Attribute) Encode(e *jx.Encoder) + func (s *Attribute) GetBrief() OptString + func (s *Attribute) GetExamples() OptExamples + func (s *Attribute) GetID() string + func (s *Attribute) GetNote() OptString + func (s *Attribute) GetRequirementLevel() OptRequirementLevel + func (s *Attribute) GetSamplingRelevant() OptBool + func (s *Attribute) GetStability() OptString + func (s *Attribute) GetTag() OptString + func (s *Attribute) GetType() AttributeType + func (s *Attribute) MarshalJSON() ([]byte, error) + func (s *Attribute) SetBrief(val OptString) + func (s *Attribute) SetExamples(val OptExamples) + func (s *Attribute) SetID(val string) + func (s *Attribute) SetNote(val OptString) + func (s *Attribute) SetRequirementLevel(val OptRequirementLevel) + func (s *Attribute) SetSamplingRelevant(val OptBool) + func (s *Attribute) SetStability(val OptString) + func (s *Attribute) SetTag(val OptString) + func (s *Attribute) SetType(val AttributeType) + func (s *Attribute) UnmarshalJSON(data []byte) error + func (s *Attribute) Validate() error + type AttributeColumn struct + Column AppendableColumn + Key string + Name string + type AttributeInfo struct + Name string + Type proto.ColumnType + type AttributeReference struct + Brief OptString + Examples OptExamples + Note OptString + Ref string + RequirementLevel OptRequirementLevel + SamplingRelevant OptBool + Tag OptString + func (s *AttributeReference) Decode(d *jx.Decoder) error + func (s *AttributeReference) Encode(e *jx.Encoder) + func (s *AttributeReference) GetBrief() OptString + func (s *AttributeReference) GetExamples() OptExamples + func (s *AttributeReference) GetNote() OptString + func (s *AttributeReference) GetRef() string + func (s *AttributeReference) GetRequirementLevel() OptRequirementLevel + func (s *AttributeReference) GetSamplingRelevant() OptBool + func (s *AttributeReference) GetTag() OptString + func (s *AttributeReference) MarshalJSON() ([]byte, error) + func (s *AttributeReference) SetBrief(val OptString) + func (s *AttributeReference) SetExamples(val OptExamples) + func (s *AttributeReference) SetNote(val OptString) + func (s *AttributeReference) SetRef(val string) + func (s *AttributeReference) SetRequirementLevel(val OptRequirementLevel) + func (s *AttributeReference) SetSamplingRelevant(val OptBool) + func (s *AttributeReference) SetTag(val OptString) + func (s *AttributeReference) UnmarshalJSON(data []byte) error + func (s *AttributeReference) Validate() error + type AttributeType struct + Enum Enum + String string + Type AttributeTypeType + func NewEnumAttributeType(v Enum) AttributeType + func NewStringAttributeType(v string) AttributeType + func (s *AttributeType) Decode(d *jx.Decoder) error + func (s *AttributeType) SetEnum(v Enum) + func (s *AttributeType) SetString(v string) + func (s *AttributeType) UnmarshalJSON(data []byte) error + func (s AttributeType) Encode(e *jx.Encoder) + func (s AttributeType) GetEnum() (v Enum, ok bool) + func (s AttributeType) GetString() (v string, ok bool) + func (s AttributeType) IsEnum() bool + func (s AttributeType) IsString() bool + func (s AttributeType) MarshalJSON() ([]byte, error) + func (s AttributeType) Validate() error + type AttributeTypeType string + const EnumAttributeType + const StringAttributeType + type Enum struct + AllowCustomValues OptBool + Members []EnumMembersItem + func (s *Enum) Decode(d *jx.Decoder) error + func (s *Enum) Encode(e *jx.Encoder) + func (s *Enum) GetAllowCustomValues() OptBool + func (s *Enum) GetMembers() []EnumMembersItem + func (s *Enum) MarshalJSON() ([]byte, error) + func (s *Enum) SetAllowCustomValues(val OptBool) + func (s *Enum) SetMembers(val []EnumMembersItem) + func (s *Enum) UnmarshalJSON(data []byte) error + func (s *Enum) Validate() error + type EnumMembersItem struct + Brief OptString + ID string + Note OptString + Value EnumMembersItemValue + func (s *EnumMembersItem) Decode(d *jx.Decoder) error + func (s *EnumMembersItem) Encode(e *jx.Encoder) + func (s *EnumMembersItem) GetBrief() OptString + func (s *EnumMembersItem) GetID() string + func (s *EnumMembersItem) GetNote() OptString + func (s *EnumMembersItem) GetValue() EnumMembersItemValue + func (s *EnumMembersItem) MarshalJSON() ([]byte, error) + func (s *EnumMembersItem) SetBrief(val OptString) + func (s *EnumMembersItem) SetID(val string) + func (s *EnumMembersItem) SetNote(val OptString) + func (s *EnumMembersItem) SetValue(val EnumMembersItemValue) + func (s *EnumMembersItem) UnmarshalJSON(data []byte) error + type EnumMembersItemValue struct + Int int + String string + Type EnumMembersItemValueType + func NewIntEnumMembersItemValue(v int) EnumMembersItemValue + func NewStringEnumMembersItemValue(v string) EnumMembersItemValue + func (s *EnumMembersItemValue) Decode(d *jx.Decoder) error + func (s *EnumMembersItemValue) SetInt(v int) + func (s *EnumMembersItemValue) SetString(v string) + func (s *EnumMembersItemValue) UnmarshalJSON(data []byte) error + func (s EnumMembersItemValue) Encode(e *jx.Encoder) + func (s EnumMembersItemValue) GetInt() (v int, ok bool) + func (s EnumMembersItemValue) GetString() (v string, ok bool) + func (s EnumMembersItemValue) IsInt() bool + func (s EnumMembersItemValue) IsString() bool + func (s EnumMembersItemValue) MarshalJSON() ([]byte, error) + type EnumMembersItemValueType string + const IntEnumMembersItemValue + const StringEnumMembersItemValue + type ExampleValue struct + Bool bool + Float64 float64 + String string + Type ExampleValueType + func NewBoolExampleValue(v bool) ExampleValue + func NewFloat64ExampleValue(v float64) ExampleValue + func NewStringExampleValue(v string) ExampleValue + func (s *ExampleValue) Decode(d *jx.Decoder) error + func (s *ExampleValue) SetBool(v bool) + func (s *ExampleValue) SetFloat64(v float64) + func (s *ExampleValue) SetString(v string) + func (s *ExampleValue) UnmarshalJSON(data []byte) error + func (s ExampleValue) Encode(e *jx.Encoder) + func (s ExampleValue) GetBool() (v bool, ok bool) + func (s ExampleValue) GetFloat64() (v float64, ok bool) + func (s ExampleValue) GetString() (v string, ok bool) + func (s ExampleValue) IsBool() bool + func (s ExampleValue) IsFloat64() bool + func (s ExampleValue) IsString() bool + func (s ExampleValue) MarshalJSON() ([]byte, error) + func (s ExampleValue) Validate() error + type ExampleValueType string + const BoolExampleValue + const Float64ExampleValue + const StringExampleValue + type Examples struct + ExampleValue ExampleValue + ExampleValueArray []ExampleValue + Type ExamplesType + func NewExampleValueArrayExamples(v []ExampleValue) Examples + func NewExampleValueExamples(v ExampleValue) Examples + func (s *Examples) Decode(d *jx.Decoder) error + func (s *Examples) SetExampleValue(v ExampleValue) + func (s *Examples) SetExampleValueArray(v []ExampleValue) + func (s *Examples) UnmarshalJSON(data []byte) error + func (s Examples) Encode(e *jx.Encoder) + func (s Examples) GetExampleValue() (v ExampleValue, ok bool) + func (s Examples) GetExampleValueArray() (v []ExampleValue, ok bool) + func (s Examples) IsExampleValue() bool + func (s Examples) IsExampleValueArray() bool + func (s Examples) MarshalJSON() ([]byte, error) + func (s Examples) Validate() error + type ExamplesType string + const ExampleValueArrayExamples + const ExampleValueExamples + type OptBool struct + Set bool + Value bool + func NewOptBool(v bool) OptBool + func (o *OptBool) Decode(d *jx.Decoder) error + func (o *OptBool) Reset() + func (o *OptBool) SetTo(v bool) + func (o OptBool) Encode(e *jx.Encoder) + func (o OptBool) Get() (v bool, ok bool) + func (o OptBool) IsSet() bool + func (o OptBool) Or(d bool) bool + func (s *OptBool) UnmarshalJSON(data []byte) error + func (s OptBool) MarshalJSON() ([]byte, error) + type OptExamples struct + Set bool + Value Examples + func NewOptExamples(v Examples) OptExamples + func (o *OptExamples) Decode(d *jx.Decoder) error + func (o *OptExamples) Reset() + func (o *OptExamples) SetTo(v Examples) + func (o OptExamples) Encode(e *jx.Encoder) + func (o OptExamples) Get() (v Examples, ok bool) + func (o OptExamples) IsSet() bool + func (o OptExamples) Or(d Examples) Examples + func (s *OptExamples) UnmarshalJSON(data []byte) error + func (s OptExamples) MarshalJSON() ([]byte, error) + type OptRequirementLevel struct + Set bool + Value RequirementLevel + func NewOptRequirementLevel(v RequirementLevel) OptRequirementLevel + func (o *OptRequirementLevel) Decode(d *jx.Decoder) error + func (o *OptRequirementLevel) Reset() + func (o *OptRequirementLevel) SetTo(v RequirementLevel) + func (o OptRequirementLevel) Encode(e *jx.Encoder) + func (o OptRequirementLevel) Get() (v RequirementLevel, ok bool) + func (o OptRequirementLevel) IsSet() bool + func (o OptRequirementLevel) Or(d RequirementLevel) RequirementLevel + func (s *OptRequirementLevel) UnmarshalJSON(data []byte) error + func (s OptRequirementLevel) MarshalJSON() ([]byte, error) + type OptString struct + Set bool + Value string + func NewOptString(v string) OptString + func (o *OptString) Decode(d *jx.Decoder) error + func (o *OptString) Reset() + func (o *OptString) SetTo(v string) + func (o OptString) Encode(e *jx.Encoder) + func (o OptString) Get() (v string, ok bool) + func (o OptString) IsSet() bool + func (o OptString) Or(d string) string + func (s *OptString) UnmarshalJSON(data []byte) error + func (s OptString) MarshalJSON() ([]byte, error) + type RequirementLevel struct + RequirementLevel1 RequirementLevel1 + String string + Type RequirementLevelType + func NewRequirementLevel1RequirementLevel(v RequirementLevel1) RequirementLevel + func NewStringRequirementLevel(v string) RequirementLevel + func (s *RequirementLevel) Decode(d *jx.Decoder) error + func (s *RequirementLevel) SetRequirementLevel1(v RequirementLevel1) + func (s *RequirementLevel) SetString(v string) + func (s *RequirementLevel) UnmarshalJSON(data []byte) error + func (s RequirementLevel) Encode(e *jx.Encoder) + func (s RequirementLevel) GetRequirementLevel1() (v RequirementLevel1, ok bool) + func (s RequirementLevel) GetString() (v string, ok bool) + func (s RequirementLevel) IsRequirementLevel1() bool + func (s RequirementLevel) IsString() bool + func (s RequirementLevel) MarshalJSON() ([]byte, error) + type RequirementLevel1 map[string]string + func (s *RequirementLevel1) Decode(d *jx.Decoder) error + func (s *RequirementLevel1) UnmarshalJSON(data []byte) error + func (s RequirementLevel1) Encode(e *jx.Encoder) + func (s RequirementLevel1) MarshalJSON() ([]byte, error) + type RequirementLevelType string + const RequirementLevel1RequirementLevel + const StringRequirementLevel + type Table struct + Columns []AttributeColumn + Raw proto.ColStr + func NewTable(columns []AttributeInfo) *Table + func (t *Table) Append(attrs otelstorage.Attrs) + func (t *Table) Input() proto.Input + func (t *Table) Reset() + type Type struct + Groups []TypeGroupsItem + func (s *Type) Decode(d *jx.Decoder) error + func (s *Type) Encode(e *jx.Encoder) + func (s *Type) GetGroups() []TypeGroupsItem + func (s *Type) MarshalJSON() ([]byte, error) + func (s *Type) SetGroups(val []TypeGroupsItem) + func (s *Type) UnmarshalJSON(data []byte) error + func (s *Type) Validate() error + type TypeGroupsItem struct + Attributes []TypeGroupsItemAttributesItem + Brief OptString + ID string + Note OptString + Prefix OptString + Type TypeGroupsItemType + func (s *TypeGroupsItem) Decode(d *jx.Decoder) error + func (s *TypeGroupsItem) Encode(e *jx.Encoder) + func (s *TypeGroupsItem) GetAttributes() []TypeGroupsItemAttributesItem + func (s *TypeGroupsItem) GetBrief() OptString + func (s *TypeGroupsItem) GetID() string + func (s *TypeGroupsItem) GetNote() OptString + func (s *TypeGroupsItem) GetPrefix() OptString + func (s *TypeGroupsItem) GetType() TypeGroupsItemType + func (s *TypeGroupsItem) MarshalJSON() ([]byte, error) + func (s *TypeGroupsItem) SetAttributes(val []TypeGroupsItemAttributesItem) + func (s *TypeGroupsItem) SetBrief(val OptString) + func (s *TypeGroupsItem) SetID(val string) + func (s *TypeGroupsItem) SetNote(val OptString) + func (s *TypeGroupsItem) SetPrefix(val OptString) + func (s *TypeGroupsItem) SetType(val TypeGroupsItemType) + func (s *TypeGroupsItem) UnmarshalJSON(data []byte) error + func (s *TypeGroupsItem) Validate() error + type TypeGroupsItemAttributesItem struct + Attribute Attribute + AttributeReference AttributeReference + Type TypeGroupsItemAttributesItemType + func NewAttributeReferenceTypeGroupsItemAttributesItem(v AttributeReference) TypeGroupsItemAttributesItem + func NewAttributeTypeGroupsItemAttributesItem(v Attribute) TypeGroupsItemAttributesItem + func (s *TypeGroupsItemAttributesItem) Decode(d *jx.Decoder) error + func (s *TypeGroupsItemAttributesItem) SetAttribute(v Attribute) + func (s *TypeGroupsItemAttributesItem) SetAttributeReference(v AttributeReference) + func (s *TypeGroupsItemAttributesItem) UnmarshalJSON(data []byte) error + func (s TypeGroupsItemAttributesItem) Encode(e *jx.Encoder) + func (s TypeGroupsItemAttributesItem) GetAttribute() (v Attribute, ok bool) + func (s TypeGroupsItemAttributesItem) GetAttributeReference() (v AttributeReference, ok bool) + func (s TypeGroupsItemAttributesItem) IsAttribute() bool + func (s TypeGroupsItemAttributesItem) IsAttributeReference() bool + func (s TypeGroupsItemAttributesItem) MarshalJSON() ([]byte, error) + func (s TypeGroupsItemAttributesItem) Validate() error + type TypeGroupsItemAttributesItemType string + const AttributeReferenceTypeGroupsItemAttributesItem + const AttributeTypeGroupsItemAttributesItem + type TypeGroupsItemType string + const TypeGroupsItemTypeAttributeGroup + const TypeGroupsItemTypeMetric + const TypeGroupsItemTypeResource + const TypeGroupsItemTypeSpan + func (TypeGroupsItemType) AllValues() []TypeGroupsItemType + func (s *TypeGroupsItemType) Decode(d *jx.Decoder) error + func (s *TypeGroupsItemType) UnmarshalJSON(data []byte) error + func (s *TypeGroupsItemType) UnmarshalText(data []byte) error + func (s TypeGroupsItemType) Encode(e *jx.Encoder) + func (s TypeGroupsItemType) MarshalJSON() ([]byte, error) + func (s TypeGroupsItemType) MarshalText() ([]byte, error) + func (s TypeGroupsItemType) Validate() error + type TypedColumn struct + Append func(col proto.ColumnOf[T], v pcommon.Value) + func (t *TypedColumn[T]) AppendAttribute(v pcommon.Value) + func (t *TypedColumn[T]) AppendZero()