← Về thư mục
openai4s/observability.py
- new_correlation_id · function · L80-L82 — def new_correlation_id() -> str
- correlation_id · function · L85-L86 — def correlation_id() -> str
- set_correlation_id · function · L89-L90 — def set_correlation_id(value: str) -> contextvars.Token
- carry_context · function · L93-L118 — def carry_context(fn: Callable[..., Any]) -> Callable[..., Any]
- reset_correlation_id · function · L121-L127 — def reset_correlation_id(token: contextvars.Token) -> None
- fingerprint · function · L130-L132 — def fingerprint(value: str) -> str
- _looks_opaque · function · L135-L155 — def _looks_opaque(text: str) -> bool
- redact · function · L158-L178 — def redact(value: Any, *, _key: str = "", _depth: int = 0) -> Any
- redact_text · function · L181-L212 — def redact_text(text: str) -> str
- _redact_path · function · L249-L262 — def _redact_path(path: str) -> str
- _redact_netloc · function · L265-L275 — def _redact_netloc(netloc: str) -> str
- _redact_fragment · function · L278-L315 — def _redact_fragment(fragment: str) -> str
- redact_url · function · L318-L348 — def redact_url(raw: str) -> str
- redact_identities · function · L351-L363 — def redact_identities(text: str) -> str
- enabled · function · L366-L372 — def enabled() -> bool
- log_event · function · L375-L392 — def log_event(event: str, /, **fields: Any) -> dict