Documentation
¶
Overview ¶
Package kineticaexporter exports log/metrics data to Kinetica.
Index ¶
- Constants
- func NewFactory() exporter.Factory
- type AttributeValue
- type Config
- type ExponentialHistogram
- type ExponentialHistogramBucketNegativeCount
- type ExponentialHistogramBucketPositiveCount
- type ExponentialHistogramDataPointAttribute
- type ExponentialHistogramDataPointExemplarAttribute
- type ExponentialHistogramDatapoint
- type ExponentialHistogramDatapointExemplar
- type ExponentialHistogramResourceAttribute
- type ExponentialHistogramScopeAttribute
- type Gauge
- type GaugeDataPointExemplarAttribute
- type GaugeDatapoint
- type GaugeDatapointAttribute
- type GaugeDatapointExemplar
- type GaugeResourceAttribute
- type GaugeScopeAttribute
- type Histogram
- type HistogramDataPointAttribute
- type HistogramDataPointExemplarAttribute
- type HistogramDatapoint
- type HistogramDatapointBucketCount
- type HistogramDatapointExemplar
- type HistogramDatapointExplicitBound
- type HistogramResourceAttribute
- type HistogramScopeAttribute
- type KiWriter
- type Sum
- type SumDataPointAttribute
- type SumDataPointExemplarAttribute
- type SumDatapoint
- type SumDatapointExemplar
- type SumResourceAttribute
- type SumScopeAttribute
- type Summary
- type SummaryDataPointAttribute
- type SummaryDatapoint
- type SummaryDatapointQuantileValues
- type SummaryResourceAttribute
- type SummaryScopeAttribute
- type ValueTypePair
Constants ¶
const ( MeasurementSpans = "spans" MeasurementSpanLinks = "span-links" MeasurementLogs = "logs" // These attribute key names are influenced by the proto message keys. AttributeTime = "time" AttributeStartTimeUnixNano = "start_time_unix_nano" AttributeTraceID = "trace_id" AttributeSpanID = "span_id" AttributeTraceState = "trace_state" AttributeParentSpanID = "parent_span_id" AttributeParentServiceName = "parent_service_name" AttributeChildServiceName = "child_service_name" AttributeCallCount = "call_count" AttributeSpansQueueDepth = "spans_queue_depth" AttributeSpansDropped = "spans_dropped" AttributeName = "name" AttributeSpanKind = "kind" AttributeEndTimeUnixNano = "end_time_unix_nano" AttributeDurationNano = "duration_nano" AttributeDroppedAttributesCount = "dropped_attributes_count" AttributeDroppedEventsCount = "dropped_events_count" AttributeDroppedLinksCount = "dropped_links_count" AttributeAttributes = "attributes" AttributeLinkedTraceID = "linked_trace_id" AttributeLinkedSpanID = "linked_span_id" AttributeSeverityNumber = "severity_number" AttributeSeverityText = "severity_text" AttributeBody = "body" LogTable = "log" LogAttributeTable = "log_attribute" LogResourceAttributeTable = "log_resource_attribute" LogScopeAttributeTable = "log_scope_attribute" TraceSpanTable = "trace_span" TraceSpanAttributeTable = "trace_span_attribute" TraceResourceAttributeTable = "trace_resource_attribute" TraceScopeAttributeTable = "trace_scope_attribute" TraceEventAttributeTable = "trace_event_attribute" TraceLinkAttributeTable = "trace_link_attribute" GaugeTable = "metric_gauge" GaugeDatapointTable = "metric_gauge_datapoint" GaugeDatapointAttributeTable = "metric_gauge_datapoint_attribute" GaugeDatapointExemplarTable = "metric_gauge_datapoint_exemplar" GaugeDatapointExemplarAttributeTable = "metric_gauge_datapoint_exemplar_attribute" GaugeResourceAttributeTable = "metric_gauge_resource_attribute" GaugeScopeAttributeTable = "metric_gauge_scope_attribute" SumTable = "metric_sum" SumResourceAttributeTable = "metric_sum_resource_attribute" SumScopeAttributeTable = "metric_sum_scope_attribute" SumDatapointTable = "metric_sum_datapoint" SumDatapointAttributeTable = "metric_sum_datapoint_attribute" SumDatapointExemplarTable = "metric_sum_datapoint_exemplar" SumDataPointExemplarAttributeTable = "metric_sum_datapoint_exemplar_attribute" HistogramTable = "metric_histogram" HistogramResourceAttributeTable = "metric_histogram_resource_attribute" HistogramScopeAttributeTable = "metric_histogram_scope_attribute" HistogramDatapointTable = "metric_histogram_datapoint" HistogramDatapointAttributeTable = "metric_histogram_datapoint_attribute" HistogramBucketCountsTable = "metric_histogram_datapoint_bucket_count" HistogramExplicitBoundsTable = "metric_histogram_datapoint_explicit_bound" HistogramDatapointExemplarTable = "metric_histogram_datapoint_exemplar" HistogramDataPointExemplarAttributeTable = "metric_histogram_datapoint_exemplar_attribute" ExpHistogramTable = "metric_exp_histogram" ExpHistogramResourceAttributeTable = "metric_exp_histogram_resource_attribute" ExpHistogramScopeAttributeTable = "metric_exp_histogram_scope_attribute" ExpHistogramDatapointTable = "metric_exp_histogram_datapoint" ExpHistogramDatapointAttributeTable = "metric_exp_histogram_datapoint_attribute" ExpHistogramPositiveBucketCountsTable = "metric_exp_histogram_datapoint_bucket_positive_count" ExpHistogramNegativeBucketCountsTable = "metric_exp_histogram_datapoint_bucket_negative_count" ExpHistogramDatapointExemplarTable = "metric_exp_histogram_datapoint_exemplar" ExpHistogramDataPointExemplarAttributeTable = "metric_exp_histogram_datapoint_exemplar_attribute" SummaryTable = "metric_summary" SummaryResourceAttributeTable = "metric_summary_resource_attribute" SummaryScopeAttributeTable = "metric_summary_scope_attribute" SummaryDatapointTable = "metric_summary_datapoint" SummaryDatapointAttributeTable = "metric_summary_datapoint_attribute" SummaryDatapointQuantileValueTable = "metric_summary_datapoint_quantile_values" ChunkSize = 10000 )
const ( CreateSchema string = "create schema if not exists %s;" HasTable string = "execute endpoint '/has/table' JSON '{\"table_name\":\"%s\"}'" // Metrics - DDLs // Gauge CreateGauge string = `` /* 239-byte string literal not displayed */ CreateGaugeDatapoint string = `` /* 370-byte string literal not displayed */ CreateGaugeDatapointAttribute string = `` /* 487-byte string literal not displayed */ CreateGaugeDatapointExemplar string = `` /* 445-byte string literal not displayed */ CreateGaugeDatapointExemplarAttribute string = `` /* 548-byte string literal not displayed */ CreateGaugeResourceAttribute string = `` /* 454-byte string literal not displayed */ CreateGaugeScopeAttribute string = `` /* 499-byte string literal not displayed */ CreateSum string = `` /* 295-byte string literal not displayed */ CreateSumDatapoint string = `` /* 356-byte string literal not displayed */ CreateSumDatapointAttribute string = `` /* 475-byte string literal not displayed */ CreateSumDatapointExemplar string = `` /* 431-byte string literal not displayed */ CreateSumDatapointExemplarAttribute string = `` /* 536-byte string literal not displayed */ CreateSumResourceAttribute string = `` /* 440-byte string literal not displayed */ CreateSumScopeAttribute string = `` /* 485-byte string literal not displayed */ CreateHistogram string = `` /* 280-byte string literal not displayed */ CreateHistogramDatapoint string = `` /* 434-byte string literal not displayed */ CreateHistogramDatapointBucketCount string = `` /* 379-byte string literal not displayed */ CreateHistogramDatapointExplicitBound string = `` /* 394-byte string literal not displayed */ CreateHistogramDatapointAttribute string = `` /* 511-byte string literal not displayed */ CreateHistogramDatapointExemplar string = `` /* 473-byte string literal not displayed */ CreateHistogramDatapointExemplarAttribute string = `` /* 572-byte string literal not displayed */ CreateHistogramResourceAttribute string = `` /* 482-byte string literal not displayed */ CreateHistogramScopeAttribute string = `` /* 527-byte string literal not displayed */ // exponential Histogram CreateExpHistogram string = `` /* 284-byte string literal not displayed */ CreateExpHistogramDatapoint string = `` /* 552-byte string literal not displayed */ CreateExpHistogramDatapointBucketPositiveCount string = `` /* 400-byte string literal not displayed */ CreateExpHistogramDatapointBucketNegativeCount string = `` /* 400-byte string literal not displayed */ CreateExpHistogramDatapointAttribute string = `` /* 523-byte string literal not displayed */ CreateExpHistogramDatapointExemplar string = `` /* 479-byte string literal not displayed */ CreateExpHistogramDatapointExemplarAttribute string = `` /* 584-byte string literal not displayed */ CreateExpHistogramResourceAttribute string = `` /* 486-byte string literal not displayed */ CreateExpHistogramScopeAttribute string = `` /* 531-byte string literal not displayed */ // Summary CreateSummary string = `` /* 244-byte string literal not displayed */ CreateSummaryDatapoint string = `` /* 384-byte string literal not displayed */ CreateSummaryDatapointAttribute string = `` /* 499-byte string literal not displayed */ CreateSummaryDatapointQuantileValues string = `` /* 390-byte string literal not displayed */ CreateSummaryResourceAttribute string = `` /* 468-byte string literal not displayed */ CreateSummaryScopeAttribute string = `` /* 513-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttributeValue ¶ added in v0.92.0
type AttributeValue struct { IntValue int `avro:"int_value"` StringValue string `avro:"string_value"` BoolValue int8 `avro:"bool_value"` DoubleValue float64 `avro:"double_value"` BytesValue []byte `avro:"bytes_value"` }
AttributeValue - struct to contain attribute values of different types Used by other metric structs
type Config ¶
type Config struct { Host string `mapstructure:"host"` Schema string `mapstructure:"schema"` Username string `mapstructure:"username"` Password configopaque.String `mapstructure:"password"` BypassSslCertCheck bool `mapstructure:"bypasssslcertcheck"` }
Config defines configuration for the Kinetica exporter.
type ExponentialHistogram ¶ added in v0.92.0
type ExponentialHistogram struct { HistogramID string `avro:"histogram_id"` MetricName string `avro:"metric_name"` Description string `avro:"metric_description"` Unit string `avro:"metric_unit"` pmetric.AggregationTemporality `avro:"aggregation_temporality"` }
ExponentialHistogram - struct modeling an Exponential Histogram
type ExponentialHistogramBucketNegativeCount ¶ added in v0.92.0
type ExponentialHistogramBucketNegativeCount struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` CountID string `avro:"count_id"` Count uint64 `avro:"count"` }
ExponentialHistogramBucketNegativeCount - struct modeling an Exponential Histogram Bucket Negative Count
type ExponentialHistogramBucketPositiveCount ¶ added in v0.92.0
type ExponentialHistogramBucketPositiveCount struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` CountID string `avro:"count_id"` Count int64 `avro:"count"` }
ExponentialHistogramBucketPositiveCount - struct modeling an Exponential Histogram Bucket Positive Count
type ExponentialHistogramDataPointAttribute ¶ added in v0.92.0
type ExponentialHistogramDataPointAttribute struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
ExponentialHistogramDataPointAttribute - struct modeling an Exponential Histogram Datapoint attribute
type ExponentialHistogramDataPointExemplarAttribute ¶ added in v0.92.0
type ExponentialHistogramDataPointExemplarAttribute struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
ExponentialHistogramDataPointExemplarAttribute - struct modeling an Exponential Histogram Datapoint Exemplar attribute
type ExponentialHistogramDatapoint ¶ added in v0.92.0
type ExponentialHistogramDatapoint struct { HistogramID string `avro:"histogram_id"` ID string `avro:"id"` StartTimeUnix int64 `avro:"start_time_unix"` TimeUnix int64 `avro:"time_unix"` Count int64 `avro:"count"` Sum float64 `avro:"data_sum"` Min float64 `avro:"data_min"` Max float64 `avro:"data_max"` Flags int `avro:"flags"` Scale int `avro:"scale"` ZeroCount int64 `avro:"zero_count"` BucketsPositiveOffset int `avro:"buckets_positive_offset"` BucketsNegativeOffset int `avro:"buckets_negative_offset"` }
ExponentialHistogramDatapoint - struct modeling an Exponential Histogram Datapoint
type ExponentialHistogramDatapointExemplar ¶ added in v0.92.0
type ExponentialHistogramDatapointExemplar struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` TimeUnix int64 `avro:"time_unix"` HistogramValue float64 `avro:"histogram_value"` TraceID string `mapstructure:"trace_id" avro:"trace_id"` SpanID string `mapstructure:"span_id" avro:"span_id"` }
ExponentialHistogramDatapointExemplar - struct modeling an Exponential Histogram Datapoint Exemplar
type ExponentialHistogramResourceAttribute ¶ added in v0.92.0
type ExponentialHistogramResourceAttribute struct { HistogramID string `avro:"histogram_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
ExponentialHistogramResourceAttribute - struct modeling an Exponential Histogram Resource attribute
type ExponentialHistogramScopeAttribute ¶ added in v0.92.0
type ExponentialHistogramScopeAttribute struct { HistogramID string `avro:"histogram_id"` ScopeName string `avro:"name"` ScopeVersion string `avro:"version"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
ExponentialHistogramScopeAttribute - struct modeling an Exponential Histogram Scope attribute
type Gauge ¶ added in v0.92.0
type Gauge struct { GaugeID string `avro:"gauge_id"` MetricName string `avro:"metric_name"` Description string `avro:"metric_description"` Unit string `avro:"metric_unit"` }
Gauge - struct modeling the Gauge data
type GaugeDataPointExemplarAttribute ¶ added in v0.92.0
type GaugeDataPointExemplarAttribute struct { GaugeID string `avro:"gauge_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
GaugeDataPointExemplarAttribute - struct modeling a Gauge Datapoint Exemplar attribute
type GaugeDatapoint ¶ added in v0.92.0
type GaugeDatapoint struct { GaugeID string `avro:"gauge_id"` ID string `avro:"id"` StartTimeUnix int64 `mapstructure:"start_time_unix" avro:"start_time_unix"` TimeUnix int64 `mapstructure:"time_unix" avro:"time_unix"` GaugeValue float64 `mapstructure:"gauge_value" avro:"gauge_value"` Flags int `mapstructure:"flags" avro:"flags"` }
GaugeDatapoint - struct modeling the Gauge Datapoint
type GaugeDatapointAttribute ¶ added in v0.92.0
type GaugeDatapointAttribute struct { GaugeID string `avro:"gauge_id"` DatapointID string `avro:"datapoint_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
GaugeDatapointAttribute - struct modeling the Gauge Datapoint attributes
type GaugeDatapointExemplar ¶ added in v0.92.0
type GaugeDatapointExemplar struct { GaugeID string `avro:"gauge_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` TimeUnix int64 `mapstructure:"time_unix" avro:"time_unix"` GaugeValue float64 `mapstructure:"gauge_value" avro:"gauge_value"` TraceID string `mapstructure:"trace_id" avro:"trace_id"` SpanID string `mapstructure:"span_id" avro:"span_id"` }
GaugeDatapointExemplar - struct modeling a Gauge Datapoint Exemplar
type GaugeResourceAttribute ¶ added in v0.92.0
type GaugeResourceAttribute struct { GaugeID string `avro:"gauge_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
GaugeResourceAttribute - struct modeling a Gauge resource attribute
type GaugeScopeAttribute ¶ added in v0.92.0
type GaugeScopeAttribute struct { GaugeID string `avro:"gauge_id"` ScopeName string `avro:"name"` ScopeVersion string `avro:"version"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
GaugeScopeAttribute - struct modeling a Gauge Scope attribute
type Histogram ¶ added in v0.92.0
type Histogram struct { HistogramID string `avro:"histogram_id"` MetricName string `avro:"metric_name"` Description string `avro:"metric_description"` Unit string `avro:"metric_unit"` pmetric.AggregationTemporality `avro:"aggregation_temporality"` }
Histogram - struct modeling a Histogram metric type
type HistogramDataPointAttribute ¶ added in v0.92.0
type HistogramDataPointAttribute struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
HistogramDataPointAttribute - struct modeling a Histogram Datapoint attribute
type HistogramDataPointExemplarAttribute ¶ added in v0.92.0
type HistogramDataPointExemplarAttribute struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
HistogramDataPointExemplarAttribute - struct modeling a Histogram Datapoint Exemplar attribute
type HistogramDatapoint ¶ added in v0.92.0
type HistogramDatapoint struct { HistogramID string `avro:"histogram_id"` ID string `avro:"id"` StartTimeUnix int64 `avro:"start_time_unix"` TimeUnix int64 `avro:"time_unix"` Count int64 `avro:"count"` Sum float64 `avro:"data_sum"` Min float64 `avro:"data_min"` Max float64 `avro:"data_max"` Flags int `avro:"flags"` }
HistogramDatapoint - struct modeling a Histogram Datapoint
type HistogramDatapointBucketCount ¶ added in v0.92.0
type HistogramDatapointBucketCount struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` CountID string `avro:"count_id"` Count int64 `avro:"count"` }
HistogramDatapointBucketCount - struct modeling a Histogram Datapoint Bucket Count
type HistogramDatapointExemplar ¶ added in v0.92.0
type HistogramDatapointExemplar struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` TimeUnix int64 `avro:"time_unix"` HistogramValue float64 `avro:"histogram_value"` TraceID string `mapstructure:"trace_id" avro:"trace_id"` SpanID string `mapstructure:"span_id" avro:"span_id"` }
HistogramDatapointExemplar - struct modeling a Histogram Datapoint Exemplar
type HistogramDatapointExplicitBound ¶ added in v0.92.0
type HistogramDatapointExplicitBound struct { HistogramID string `avro:"histogram_id"` DatapointID string `avro:"datapoint_id"` BoundID string `avro:"bound_id"` ExplicitBound float64 `avro:"explicit_bound"` }
HistogramDatapointExplicitBound - struct modeling a Histogram Datapoint Explicit Bound
type HistogramResourceAttribute ¶ added in v0.92.0
type HistogramResourceAttribute struct { HistogramID string `avro:"histogram_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
HistogramResourceAttribute - struct modeling a Histogram Resource Attribute
type HistogramScopeAttribute ¶ added in v0.92.0
type HistogramScopeAttribute struct { HistogramID string `avro:"histogram_id"` ScopeName string `avro:"name"` ScopeVersion string `avro:"version"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
HistogramScopeAttribute - struct modeling a Histogram Scope Attribute
type KiWriter ¶ added in v0.92.0
type KiWriter struct { Db kinetica.Kinetica Options kinetica.KineticaOptions // contains filtered or unexported fields }
KiWriter - struct modeling the Kinetica connection, contains the Kinetica connection kinetica.Kinetica, the Kinetica Options kinetica.KineticaOptions, the config Config and the logger zap.Logger
var Writer *KiWriter
Writer - global pointer to kiwriter struct initialized in the init func
func (*KiWriter) GetCfg ¶ added in v0.92.0
GetCfg - Getter for the Config value
@receiver kiwriter @return Config
func (*KiWriter) GetDb ¶ added in v0.92.0
GetDb - Getter for the Kinetica instance
@receiver kiwriter @return gpudb.Gpudb
func (*KiWriter) GetOptions ¶ added in v0.92.0
func (kiwriter *KiWriter) GetOptions() kinetica.KineticaOptions
GetOptions - Getter for the Kinetica options.
@receiver kiwriter @return gpudb.GpudbOptions
type Sum ¶ added in v0.92.0
type Sum struct { SumID string `avro:"sum_id"` MetricName string `avro:"metric_name"` Description string `avro:"metric_description"` Unit string `avro:"metric_unit"` pmetric.AggregationTemporality `avro:"aggregation_temporality"` IsMonotonic int8 `avro:"is_monotonic"` }
Sum - struct modeling a Sum metric
type SumDataPointAttribute ¶ added in v0.92.0
type SumDataPointAttribute struct { SumID string `avro:"sum_id"` DatapointID string `avro:"datapoint_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
SumDataPointAttribute - struct modeling a Sum Datapoint attribute
type SumDataPointExemplarAttribute ¶ added in v0.92.0
type SumDataPointExemplarAttribute struct { SumID string `avro:"sum_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
SumDataPointExemplarAttribute - struct modeling a Sum Datapoint Exemplar attribute
type SumDatapoint ¶ added in v0.92.0
type SumDatapoint struct { SumID string `avro:"sum_id"` ID string `avro:"id"` StartTimeUnix int64 `mapstructure:"start_time_unix" avro:"start_time_unix"` TimeUnix int64 `mapstructure:"time_unix" avro:"time_unix"` SumValue float64 `mapstructure:"sum_value" avro:"sum_value"` Flags int `mapstructure:"flags" avro:"flags"` }
SumDatapoint - struct modeling a Sum Datapoint
type SumDatapointExemplar ¶ added in v0.92.0
type SumDatapointExemplar struct { SumID string `avro:"sum_id"` DatapointID string `avro:"datapoint_id"` ExemplarID string `avro:"exemplar_id"` TimeUnix int64 `mapstructure:"time_unix" avro:"time_unix"` SumValue float64 `mapstructure:"sum_value" avro:"sum_value"` TraceID string `mapstructure:"trace_id" avro:"trace_id"` SpanID string `mapstructure:"span_id" avro:"span_id"` }
SumDatapointExemplar - struct modeling a Sum Datapoint Exemplar
type SumResourceAttribute ¶ added in v0.92.0
type SumResourceAttribute struct { SumID string `avro:"sum_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
SumResourceAttribute - struct modeling a Sum Resource attribute
type SumScopeAttribute ¶ added in v0.92.0
type SumScopeAttribute struct { SumID string `avro:"sum_id"` ScopeName string `avro:"name"` ScopeVersion string `avro:"version"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
SumScopeAttribute - struct modeling a Sum Scope attribute
type Summary ¶ added in v0.92.0
type Summary struct { SummaryID string `avro:"summary_id"` MetricName string `avro:"metric_name"` Description string `avro:"metric_description"` Unit string `avro:"metric_unit"` }
Summary - struct modeling a Summary type metric
type SummaryDataPointAttribute ¶ added in v0.92.0
type SummaryDataPointAttribute struct { SummaryID string `avro:"summary_id"` DatapointID string `avro:"datapoint_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
SummaryDataPointAttribute - struct modeling a Summary Datapoint attribute
type SummaryDatapoint ¶ added in v0.92.0
type SummaryDatapoint struct { SummaryID string `avro:"summary_id"` ID string `avro:"id"` StartTimeUnix int64 `avro:"start_time_unix"` TimeUnix int64 `avro:"time_unix"` Count int64 `avro:"count"` Sum float64 `avro:"data_sum"` Flags int `avro:"flags"` }
SummaryDatapoint - struct modeling a Summary Datapoint
type SummaryDatapointQuantileValues ¶ added in v0.92.0
type SummaryDatapointQuantileValues struct { SummaryID string `avro:"summary_id"` DatapointID string `avro:"datapoint_id"` QuantileID string `avro:"quantile_id"` Quantile float64 `avro:"quantile"` Value float64 `avro:"value"` }
SummaryDatapointQuantileValues - struct modeling a Summary Datapoint Quantile value
type SummaryResourceAttribute ¶ added in v0.92.0
type SummaryResourceAttribute struct { SummaryID string `avro:"summary_id"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
SummaryResourceAttribute - struct modeling a Summary Resource attribute
type SummaryScopeAttribute ¶ added in v0.92.0
type SummaryScopeAttribute struct { SummaryID string `avro:"summary_id"` ScopeName string `avro:"name"` ScopeVersion string `avro:"version"` Key string `avro:"key"` AttributeValue `mapstructure:",squash"` }
SummaryScopeAttribute - struct modeling a Summary Scope attribute
type ValueTypePair ¶ added in v0.92.0
type ValueTypePair struct {
// contains filtered or unexported fields
}
ValueTypePair - struct to wrap a value as [any] and its type pcommon.ValueType