Versions in this module Expand all Collapse all v0 v0.0.1 Jun 4, 2023 Changes in this version + const AttributeAttributes + const AttributeBody + const AttributeCallCount + const AttributeChildServiceName + const AttributeDroppedAttributesCount + const AttributeDroppedEventsCount + const AttributeDroppedLinksCount + const AttributeDurationNano + const AttributeEndTimeUnixNano + const AttributeLinkedSpanID + const AttributeLinkedTraceID + const AttributeName + const AttributeParentServiceName + const AttributeParentSpanID + const AttributeSeverityNumber + const AttributeSeverityText + const AttributeSpanID + const AttributeSpanKind + const AttributeSpansDropped + const AttributeSpansQueueDepth + const AttributeStartTimeUnixNano + const AttributeTime + const AttributeTraceID + const AttributeTraceState + const ChunkSize + const ExpHistogramAttributeTable + const ExpHistogramDataPointExemplarAttributeTable + const ExpHistogramDatapointAttributeTable + const ExpHistogramDatapointExemplarTable + const ExpHistogramDatapointTable + const ExpHistogramNegativeBucketCountsTable + const ExpHistogramPositiveBucketCountsTable + const ExpHistogramResourceAttributeTable + const ExpHistogramScopeAttributeTable + const ExpHistogramTable + const GaugeDatapointAttributeTable + const GaugeDatapointExemplarAttributeTable + const GaugeDatapointExemplarTable + const GaugeDatapointTable + const GaugeResourceAttributeTable + const GaugeScopeAttributeTable + const GaugeTable + const HistogramAttributeTable + const HistogramBucketCountsTable + const HistogramDataPointExemplarAttributeTable + const HistogramDatapointAttributeTable + const HistogramDatapointExemplarTable + const HistogramDatapointTable + const HistogramExplicitBoundsTable + const HistogramResourceAttributeTable + const HistogramScopeAttributeTable + const HistogramTable + const InsertLog + const InsertLogAttribute + const InsertLogResourceAttribute + const InsertLogScopeAttribute + const InsertTraceEventAttribute + const InsertTraceLinkAttribute + const InsertTraceResourceAttribute + const InsertTraceScopeAttribute + const InsertTraceSpan + const InsertTraceSpanAttribute + const LogAttributeTable + const LogResourceAttributeTable + const LogScopeAttributeTable + const LogTable + const MeasurementLogs + const MeasurementSpanLinks + const MeasurementSpans + const SumDataPointExemplarAttributeTable + const SumDatapointAttributeTable + const SumDatapointExemplarTable + const SumDatapointTable + const SumResourceAttributeTable + const SumScopeAttributeTable + const SumTable + const SummaryAttributeTable + const SummaryDatapointAttributeTable + const SummaryDatapointQuantileValueTable + const SummaryDatapointTable + const SummaryResourceAttributeTable + const SummaryScopeAttributeTable + const SummaryTable + const TraceEventAttributeTable + const TraceLinkAttributeTable + const TraceResourceAttributeTable + const TraceScopeAttributeTable + const TraceSpanAttributeTable + const TraceSpanTable + func AttributeValueToKineticaTagValue(value pcommon.Value) (string, error) + func ChunkBySize(items []T, chunkSize int) [][]T + func ConvertToInterfaceSlice(items []T) []interface + func CreateDefaultConfig() component.Config + func GetGpuDbInst(cfg *Config) *gpudb.Gpudb + func NewFactory() exporter.Factory + func ValidateStruct(s interface{}) (err error) + type AggregationTemporality int + const AggregationTemporalityCumulative + const AggregationTemporalityDelta + const AggregationTemporalityUnspecified + type AttributeValue struct + BoolValue int8 + BytesValue []byte + DoubleValue float64 + IntValue int + StringValue string + func NewAttributeValue(intValue int, stringValue string, boolValue int8, doubleValue float64, ...) *AttributeValue + func (attributevalue *AttributeValue) GetBoolValue() int8 + func (attributevalue *AttributeValue) GetBytesValue() []byte + func (attributevalue *AttributeValue) GetDoubleValue() float64 + func (attributevalue *AttributeValue) GetIntValue() int + func (attributevalue *AttributeValue) GetStringValue() string + func (attributevalue *AttributeValue) SetBoolValue(BoolValue int8) *AttributeValue + func (attributevalue *AttributeValue) SetBytesValue(BytesValue []byte) *AttributeValue + func (attributevalue *AttributeValue) SetDoubleValue(DoubleValue float64) *AttributeValue + func (attributevalue *AttributeValue) SetIntValue(IntValue int) *AttributeValue + func (attributevalue *AttributeValue) SetStringValue(StringValue string) *AttributeValue + type Config struct + BypassSslCertCheck bool + Host string + Password string + Schema string + Username string + func (cfg *Config) Validate() error + type EventAttribute struct + EventID string + EventName string + Key string + func NewEventAttribute(eventID string, eventName string, key string, attributes AttributeValue) *EventAttribute + type ExponentialHistogram struct + AggregationTemporality int8 + Description string + HistogramID string + MetricName string + ResourceID string + ScopeID string + Unit string + type ExponentialHistogramBucketNegativeCount struct + Count uint64 + CountID string + DatapointID string + HistogramID string + type ExponentialHistogramBucketPositiveCount struct + Count uint64 + CountID string + DatapointID string + HistogramID string + type ExponentialHistogramDataPointAttribute struct + DatapointID string + HistogramID string + Key string + type ExponentialHistogramDataPointExemplarAttribute struct + DatapointID string + ExemplarID string + HistogramID string + Key string + type ExponentialHistogramDatapoint struct + BucketsNegativeOffset int + BucketsPositiveOffset int + Count uint64 + Flags int + HistogramID string + ID string + Max float64 + Min float64 + Scale int + StartTimeUnix string + Sum float64 + TimeUnix string + ZeroCount uint64 + type ExponentialHistogramDatapointExemplar struct + DatapointID string + ExemplarID string + HistogramID string + HistogramValue float64 + SpanID string + TimeUnix string + TraceID string + type ExponentialHistogramResourceAttribute struct + Key string + ResourceID string + type ExponentialHistogramScopeAttribute struct + Key string + ScopeID string + ScopeName string + ScopeVersion string + type Gauge struct + Description string + GaugeID string + MetricName string + ResourceID string + ScopeID string + Unit string + type GaugeDataPointExemplarAttribute struct + DatapointID string + ExemplarID string + GaugeID string + Key string + type GaugeDatapoint struct + Flags int + GaugeID string + GaugeValue float64 + ID string + StartTimeUnix string + TimeUnix string + type GaugeDatapointAttribute struct + DatapointID string + GaugeID string + Key string + type GaugeDatapointExemplar struct + DatapointID string + ExemplarID string + GaugeID string + GaugeValue float64 + SpanID string + TimeUnix string + TraceID string + type GaugeResourceAttribute struct + Key string + ResourceID string + type GaugeScopeAttribute struct + Key string + ScopeID string + ScopeName string + ScopeVersion string + type Histogram struct + AggregationTemporality int8 + Description string + HistogramID string + MetricName string + ResourceID string + ScopeID string + Unit string + type HistogramDataPointAttribute struct + DatapointID string + HistogramID string + Key string + type HistogramDataPointExemplarAttribute struct + DatapointID string + ExemplarID string + HistogramID string + Key string + type HistogramDatapoint struct + Count uint64 + Flags int + HistogramID string + ID string + Max float64 + Min float64 + StartTimeUnix string + Sum float64 + TimeUnix string + type HistogramDatapointBucketCount struct + Count uint64 + CountID string + DatapointID string + HistogramID string + type HistogramDatapointExemplar struct + DatapointID string + ExemplarID string + HistogramID string + HistogramValue float64 + SpanID string + TimeUnix string + TraceID string + type HistogramDatapointExplicitBound struct + BoundID string + DatapointID string + ExplicitBound float64 + HistogramID string + type HistogramResourceAttribute struct + Key string + ResourceID string + type HistogramScopeAttribute struct + Key string + ScopeID string + ScopeName string + ScopeVersion string + type KiWriter struct + Db gpudb.Gpudb + Options gpudb.GpudbOptions + var Writer *KiWriter + func NewKiWriter(ctx context.Context, cfg Config) *KiWriter + func (kiwriter *KiWriter) GetCfg() Config + func (kiwriter *KiWriter) GetDb() gpudb.Gpudb + func (kiwriter *KiWriter) GetOptions() gpudb.GpudbOptions + func (kiwriter *KiWriter) SetCfg(cfg Config) *KiWriter + func (kiwriter *KiWriter) SetDb(Db gpudb.Gpudb) *KiWriter + func (kiwriter *KiWriter) SetOptions(Options gpudb.GpudbOptions) *KiWriter + type LinkAttribute struct + Key string + LinkID string + SpanID string + TraceID string + func NewLinkAttribute(linkID string, key string, traceID string, spanID string, ...) *LinkAttribute + type Log struct + Body string + Flags int + LogID string + ObservedTimeUnixNano string + ResourceID string + ScopeID string + SeverityID int8 + SeverityText string + SpanID string + TimeUnixNano string + TraceID string + func NewLog(LogID string, ResourceID string, ScopeID string, TraceID string, SpanID string, ...) *Log + func (logs *Log) GetBody() string + func (logs *Log) GetFlags() int + func (logs *Log) GetLogID() string + func (logs *Log) GetObservedTimeUnixNano() string + func (logs *Log) GetResourceID() string + func (logs *Log) GetScopeID() string + func (logs *Log) GetSeverityID() int8 + func (logs *Log) GetSeverityText() string + func (logs *Log) GetSpanID() string + func (logs *Log) GetTimeUnixNano() string + func (logs *Log) GetTraceID() string + func (logs *Log) SetBody(Body string) *Log + func (logs *Log) SetFlags(Flags int) *Log + func (logs *Log) SetLogID(LogID string) *Log + func (logs *Log) SetObservedTimeUnixNano(ObservedTimeUnixNano string) *Log + func (logs *Log) SetResourceID(ResourceID string) *Log + func (logs *Log) SetScopeID(ScopeID string) *Log + func (logs *Log) SetSeverityID(SeverityID int8) *Log + func (logs *Log) SetSeverityText(SeverityText string) *Log + func (logs *Log) SetSpanID(SpanID string) *Log + func (logs *Log) SetTimeUnixNano(TimeUnixNano string) *Log + func (logs *Log) SetTraceID(TraceID string) *Log + type LogAttribute struct + Key string + LogID string + func NewLogAttribute(logID string, key string, attributes AttributeValue) *LogAttribute + type ResourceAttribute struct + Key string + ResourceID string + func NewResourceAttribute(resourceID string, key string, attributes AttributeValue) *ResourceAttribute + type ScopeAttribute struct + Key string + ScopeID string + ScopeName string + ScopeVersion string + func NewScopeAttribute(scopeID string, key string, scopeName string, scopeVersion string, ...) *ScopeAttribute + type Span struct + DroppedAttributesCount int + DroppedEventsCount int + DroppedLinksCount int + EndTimeUnixNano string + EventID string + ID string + LinkID string + Message string + Name string + ParentSpanID string + ResourceID string + ScopeID string + SpanID string + SpanKind int8 + StartTimeUnixNano string + StatusCode int8 + TraceID string + TraceState string + func NewSpan(resourceID string, scopeID string, eventID string, linkID string, ...) *Span + func (span *Span) GetDroppedAttributeCount() int + func (span *Span) GetDroppedEventCount() int + func (span *Span) GetDroppedLinkCount() int + func (span *Span) GetEndTimeUnixNano() string + func (span *Span) GetEventID() string + func (span *Span) GetID() string + func (span *Span) GetLinkID() string + func (span *Span) GetMessage() string + func (span *Span) GetName() string + func (span *Span) GetParentSpanID() string + func (span *Span) GetResourceID() string + func (span *Span) GetScopeID() string + func (span *Span) GetSpanID() string + func (span *Span) GetSpanKind() int8 + func (span *Span) GetStartTimeUnixNano() string + func (span *Span) GetStatusCode() int8 + func (span *Span) GetTraceID() string + func (span *Span) GetTraceState() string + func (span *Span) SetDroppedAttributeCount(droppedAttributeCount int) *Span + func (span *Span) SetDroppedEventCount(droppedEventCount int) *Span + func (span *Span) SetDroppedLinkCount(droppedLinkCount int) *Span + func (span *Span) SetEndTimeUnixNano(endTimeUnixNano string) *Span + func (span *Span) SetEventID(eventID string) *Span + func (span *Span) SetID(ID string) *Span + func (span *Span) SetLinkID(linkID string) *Span + func (span *Span) SetMessage(message string) *Span + func (span *Span) SetName(name string) *Span + func (span *Span) SetParentSpanID(parentSpanID string) *Span + func (span *Span) SetResourceID(resourceID string) *Span + func (span *Span) SetScopeID(scopeID string) *Span + func (span *Span) SetSpanID(spanID string) *Span + func (span *Span) SetSpanKind(spanKind int8) *Span + func (span *Span) SetStartTimeUnixNano(startTimeUnixNano string) *Span + func (span *Span) SetStatusCode(statusCode int8) *Span + func (span *Span) SetTraceID(traceID string) *Span + func (span *Span) SetTraceState(traceState string) *Span + type SpanAttribute struct + Key string + SpanID string + func NewSpanAttribute(spanID string, key string, attributeValue AttributeValue) *SpanAttribute + type Sum struct + AggregationTemporality int8 + Description string + IsMonotonic int8 + MetricName string + ResourceID string + ScopeID string + SumID string + Unit string + type SumDataPointAttribute struct + DatapointID string + Key string + SumID string + type SumDataPointExemplarAttribute struct + DatapointID string + ExemplarID string + Key string + SumID string + type SumDatapoint struct + Flags int + ID string + StartTimeUnix string + SumID string + SumValue float64 + TimeUnix string + type SumDatapointExemplar struct + DatapointID string + ExemplarID string + SpanID string + SumID string + SumValue float64 + TimeUnix string + TraceID string + type SumResourceAttribute struct + Key string + ResourceID string + type SumScopeAttribute struct + Key string + ScopeID string + ScopeName string + ScopeVersion string + type Summary struct + Description string + MetricName string + ResourceID string + ScopeID string + SummaryID string + Unit string + type SummaryDataPointAttribute struct + DatapointID string + Key string + SummaryID string + type SummaryDatapoint struct + Count uint64 + Flags int + ID string + StartTimeUnix string + Sum float64 + SummaryID string + TimeUnix string + type SummaryDatapointQuantileValues struct + DatapointID string + Quantile float64 + QuantileID string + SummaryID string + Value float64 + type SummaryResourceAttribute struct + Key string + ResourceID string + type SummaryScopeAttribute struct + Key string + ScopeID string + ScopeName string + ScopeVersion string + type TraceResourceAttribute struct + Key string + ResourceID string + func NewTraceResourceAttribute(key string, attributes AttributeValue) *TraceResourceAttribute + type TraceScopeAttribute struct + Key string + ScopeID string + ScopeName string + ScopeVersion string + func NewtraceScopeAttribute(key string, scopeName string, scopeVersion string, attributes AttributeValue) *TraceScopeAttribute + type ValueTypePair struct + func AttributeValueToKineticaFieldValue(value pcommon.Value) (ValueTypePair, error)