Files
effect/migration/annotations/effect__MetricRegistry.yaml
2026-07-27 15:13:57 +12:00

10 lines
596 B
YAML

effect/MetricRegistry#MetricRegistry:
replacement: "Metric.MetricRegistry"
note: "The method-bearing registry became a Context.Reference whose service is a Map. Metrics register metadata and hooks lazily."
effect/MetricRegistry#make:
replacement: "new Map<string, Metric.Metric.Metadata<any, any>>()"
note: "Provide a fresh Map to Metric.MetricRegistry for isolation. Read it through Metric.snapshot or snapshotUnsafe."
effect/MetricRegistry#MetricRegistryTypeId:
replacement: "none"
note: "The registry service is an ordinary Map behind a Context.Reference and has no public brand."