MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / init

Function init

packages/google-cloud-serverless/src/sdk.ts:27–36  ·  view source on GitHub ↗
(options: NodeOptions = {})

Source from the content-addressed store, hash-verified

25 * @see {@link Sentry.init}
26 */
27export function init(options: NodeOptions = {}): NodeClient | undefined {
28 const opts = {
29 defaultIntegrations: getDefaultIntegrations(options),
30 ...options,
31 };
32
33 applySdkMetadata(opts, 'google-cloud-serverless', ['google-cloud-serverless', 'node']);
34
35 return initNode(opts);
36}

Callers 2

sdk.test.tsFile · 0.90
http.test.tsFile · 0.90

Calls 2

applySdkMetadataFunction · 0.90
getDefaultIntegrationsFunction · 0.70

Tested by

no test coverage detected