Documentation
¶
Index ¶
- func ApplyAgentContext(observation inputpkg.Observation, context AgentContext) inputpkg.Observation
- func Build(observations []inputpkg.Observation, source string, generatedAt time.Time) model.Graph
- func BuildWithOptions(observations []inputpkg.Observation, source string, generatedAt time.Time, ...) model.Graph
- func MetadataOnlyObservation(observation inputpkg.Observation, sensitiveHMACKey []byte) inputpkg.Observation
- func SortVersions(values []string) []string
- type AgentContext
- type Builder
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyAgentContext ¶ added in v0.5.0
func ApplyAgentContext(observation inputpkg.Observation, context AgentContext) inputpkg.Observation
ApplyAgentContext adds inherited identity to a metadata-only observation.
func BuildWithOptions ¶
func MetadataOnlyObservation ¶ added in v0.5.0
func MetadataOnlyObservation(observation inputpkg.Observation, sensitiveHMACKey []byte) inputpkg.Observation
MetadataOnlyObservation produces the bounded, content-free representation retained while the live receiver waits for parent spans from another OTLP export batch. Prompt content is reduced to presence plus an optional HMAC.
func SortVersions ¶
SortVersions is exported for tests and adapters that merge graphs.
Types ¶
type AgentContext ¶ added in v0.5.0
type AgentContext struct {
// contains filtered or unexported fields
}
func AgentContextFromAttributes ¶ added in v0.5.0
func AgentContextFromAttributes(attributes map[string]string) AgentContext
AgentContextFromAttributes returns only an explicitly identified agent. Service-name fallback is deliberately excluded because it must not override an agent identity that can arrive later on a parent span.
func (AgentContext) Empty ¶ added in v0.5.0
func (context AgentContext) Empty() bool
Click to show internal directories.
Click to hide internal directories.