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

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

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.getSingleMetric
import { Registry } from "https://deno.land/x/live@1.36.6/observability/client.ts";

Get a single metric

Type Parameters

T extends string

Parameters

name: string

The name of the metric

Returns

Metric<T> | undefined