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

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

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

Get all metrics as objects

Returns

Promise<MetricObjectWithValues<MetricValue<string>>[]>