MCPcopy Create free account
hub / github.com/astercloud/aster / getTraces

Method getTraces

studio/src/api/client.ts:88–91  ·  view source on GitHub ↗
(opts: TraceQueryOpts = {})

Source from the content-addressed store, hash-verified

86
87 // Traces
88 async getTraces(opts: TraceQueryOpts = {}): Promise<TraceListResult> {
89 const query = this.buildQueryString(opts);
90 return this.fetch<TraceListResult>(`/dashboard/traces${query}`);
91 }
92
93 async getTrace(id: string): Promise<TraceDetail> {
94 return this.fetch<TraceDetail>(`/dashboard/traces/${id}`);

Callers 1

useTracesFunction · 0.80

Calls 2

buildQueryStringMethod · 0.95
fetchMethod · 0.95

Tested by

no test coverage detected