MCPcopy Index your code
hub / github.com/Effect-TS/effect / summary

Function summary

packages/effect/src/internal/metric.ts:266–275  ·  view source on GitHub ↗
(
  options: {
    readonly name: string
    readonly maxAge: Duration.DurationInput
    readonly maxSize: number
    readonly error: number
    readonly quantiles: ReadonlyArray<number>
    readonly description?: string | undefined
  }
)

Source from the content-addressed store, hash-verified

264
265/** @internal */
266export const summary = (
267 options: {
268 readonly name: string
269 readonly maxAge: Duration.DurationInput
270 readonly maxSize: number
271 readonly error: number
272 readonly quantiles: ReadonlyArray<number>
273 readonly description?: string | undefined
274 }
275): Metric.Metric.Summary<number> => withNow(summaryTimestamp(options))
276
277/** @internal */
278export const summaryTimestamp = (

Callers

nothing calls this directly

Calls 2

withNowFunction · 0.85
summaryTimestampFunction · 0.85

Tested by

no test coverage detected