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

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

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

Get a string representation of a single metric by name

Parameters

name: string

The name of the metric

Returns

Promise<string>