Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFreePort ¶
GetFreePort finds an available port we can run Postgres on. It will favour the ones you specify as preferredPorts, but if they are all in use, it return an arbitrary port that is free.
func GetTraceparent ¶ added in v0.368.0
func GetTraceparent(spanContext trace.SpanContext) string
Retrieves traceparent, or empty string if no span exists. Uses standard format: {version}-{trace_id}-{span_id}-{trace_flags} See specification: https://www.w3.org/TR/trace-context/#traceparent-header-field-values
func ParseTraceparent ¶ added in v0.368.0
func ParseTraceparent(traceparent string) trace.SpanContext
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.