Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deco/observability/client.ts>Registry#setDefaultLabels

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

Set static labels to every metric emitted by this registry

Parameters

labels: Object

of name/value pairs: { defaultLabel: "value", anotherLabel: "value 2" }