Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/observability/client.ts>Registry#registerMetric

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
method Registry.prototype.registerMetric
import { Registry } from "https://deno.land/x/live@1.36.6/observability/client.ts";

Register metric to register

Type Parameters

T extends string

Parameters

metric: Metric<T>

Metric to add to register