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

Function summaryTimestamp

packages/effect/src/internal/metric.ts:278–287  ·  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

276
277/** @internal */
278export const summaryTimestamp = (
279 options: {
280 readonly name: string
281 readonly maxAge: Duration.DurationInput
282 readonly maxSize: number
283 readonly error: number
284 readonly quantiles: ReadonlyArray<number>
285 readonly description?: string | undefined
286 }
287): Metric.Metric.Summary<readonly [value: number, timestamp: number]> => fromMetricKey(metricKey.summary(options))
288
289/** @internal */
290export const tagged = dual<

Callers 1

summaryFunction · 0.85

Calls 1

fromMetricKeyFunction · 0.85

Tested by

no test coverage detected