MCPcopy
hub / github.com/getmaxun/maxun / analyticsMetadata

Function analyticsMetadata

server/src/utils/analytics.ts:25–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25function analyticsMetadata() {
26 return {
27 os: os.type().toLowerCase(),
28 oss_version: getOssVersion(),
29 machine: os.arch(),
30 platform: os.platform(),
31 node_version: process.version,
32 environment: process.env.ENV || 'production',
33 };
34}
35
36export function capture(event: any, data = {}) {
37 if (process.env.MAXUN_TELEMETRY !== 'true') return;

Callers 1

captureFunction · 0.85

Calls 1

getOssVersionFunction · 0.85

Tested by

no test coverage detected