MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / shouldEmitMetrics

Function shouldEmitMetrics

src/utils/sentry.ts:473–475  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

471}
472
473function shouldEmitMetrics(): boolean {
474 return initialized && !isSentryDisabled() && !isTestEnv() && !isSentryCaptureSealed();
475}
476export function recordToolInvocationMetric(metric: ToolInvocationMetric): void {
477 if (!shouldEmitMetrics()) {
478 return;

Calls 3

isSentryCaptureSealedFunction · 0.90
isSentryDisabledFunction · 0.85
isTestEnvFunction · 0.70

Tested by

no test coverage detected