MCPcopy Index your code
hub / github.com/browserless/browserless / read

Method read

src/monitoring.ts:217–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215 }
216
217 public async read(): Promise<IResourceLoad> {
218 const [cpu, memory] = await Promise.all([
219 this.readCpu(),
220 this.readMemory(),
221 ]);
222 return { cpu, memory };
223 }
224
225 protected async readCpu(): Promise<number | null> {
226 let usageNsContent: string;

Callers

nothing calls this directly

Calls 2

readCpuMethod · 0.95
readMemoryMethod · 0.95

Tested by

no test coverage detected