requestheaderattrs

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSessionIDHeaderMapping = "agent-session-id:session.id"

DefaultSessionIDHeaderMapping is the default header-to-attribute mapping for session tracking.

Variables

This section is empty.

Functions

func ResolveAll

func ResolveAll(base, span, metrics, log *string) (map[string]string, map[string]string, map[string]string, error)

ResolveAll resolves span, metrics, and log request header attributes using a shared base mapping. - Metrics never default. - Span and log default to DefaultSessionIDHeaderMapping when unset. - An explicitly empty span/log value clears the default (base still applies).

func ResolveLog

func ResolveLog(base, log *string) (map[string]string, error)

ResolveLog resolves access-log header attributes using a shared base mapping. - Defaults to DefaultSessionIDHeaderMapping when unset. - Explicit empty clears the default (base still applies).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL