MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / getTraceLinkKey

Function getTraceLinkKey

packages/cloudflare/src/utils/traceLinks.ts:20–22  ·  view source on GitHub ↗
(methodName: string)

Source from the content-addressed store, hash-verified

18 * Gets the storage key for a specific method's trace link.
19 */
20export function getTraceLinkKey(methodName: string): string {
21 return `${SENTRY_TRACE_LINK_KEY_PREFIX}${methodName}`;
22}
23
24/**
25 * Stores the current span context in Durable Object storage for trace linking.

Callers 3

traceLinks.test.tsFile · 0.90
storeSpanContextFunction · 0.85
getStoredSpanContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected