Documentation
¶
Overview ¶
Package observability wires up logging and tracing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(service string) apptheory.ObservabilityHooks
New constructs observability hooks for apptheory services.
func SanitizeLogPath ¶ added in v0.4.0
SanitizeLogPath normalizes private route path segments before generic request logs persist them. Dedicated audit records carry their own hashed identifiers; this is the defense-in-depth layer for framework/API access style logs that otherwise receive only a raw request path.
func SanitizeMetricTags ¶ added in v0.4.0
SanitizeMetricTags copies framework metric tags and normalizes any request path tag before generic metric logs persist it. AppTheory emits the raw request path in MetricRecord.Tags["path"] independently from LogRecord.Path, so Host must apply the same redaction at the metric hook boundary.
Types ¶
This section is empty.