Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source string
Source identifies how a profile ID was generated.
func Generate ¶
func Generate( tenantID string, profileType string, externalLabels []*typesv1.LabelPair, timeNanos int64, traceID string, ) (uuid.UUID, Source)
Generate creates a UUID v8 from the SHA-256 hash of the profile's external identity. A timestamp takes precedence over a trace ID. When neither is available, a random UUID v4 is returned.
Click to show internal directories.
Click to hide internal directories.