MCPcopy Index your code
hub / github.com/getsentry/sentry-react-native / setAttribute

Method setAttribute

packages/core/src/js/NativeRNSentry.ts:38–38  ·  view source on GitHub ↗
(key: string, value: string)

Source from the content-addressed store, hash-verified

36 setExtra(key: string, value: string): void;
37 setTag(key: string, value: string): void;
38 setAttribute(key: string, value: string): void;
39 setAttributes(attributes: UnsafeObject): void;
40 removeAttribute(key: string): void;
41 enableNativeFramesTracking(): void;

Callers 15

setAttributeMethod · 0.65
setAttributeMethod · 0.65
setAttributeMethod · 0.65
scopeSync.test.tsFile · 0.65
appStart.test.tsFile · 0.65
enableSyncToNativeFunction · 0.65
_onTouchStartMethod · 0.65
_startNewProfileFunction · 0.65
startIdleNavigationSpanFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected