Documentation ¶
Overview ¶
Package utility provides utility functions for the snowflakeexporter package to consolidate code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAttributesToString ¶
ConvertAttributesToString converts the pcommon.Map into a JSON string representation this is due to a bug/lacking feature with the snowflake driver that prevents maps from being inserted into VARIANT & OBJECT columns github issue: https://github.com/snowflakedb/gosnowflake/issues/217
func FlattenExemplars ¶
FlattenExemplars will flatten the given exemplars into slices of the individual fields
func SpanIDToHexOrEmptyString ¶
SpanIDToHexOrEmptyString returns a string representation of the SpanID in hex Same implementation as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil"
func TraceIDToHexOrEmptyString ¶
TraceIDToHexOrEmptyString returns a string representation of the TraceID in hex Same implementation as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil"