MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / trackCli

Method trackCli

packages/cli/src/telemetry.ts:125–127  ·  view source on GitHub ↗
(action: () => Promise<void> | void)

Source from the content-addressed store, hash-verified

123 }
124
125 async trackCli(action: () => Promise<void> | void) {
126 await this.trackSpan('cli:start', 'cli:complete', 'cli:error', {}, action);
127 }
128
129 getPrismaVersion() {
130 try {

Callers 1

mainFunction · 0.80

Calls 1

trackSpanMethod · 0.95

Tested by

no test coverage detected