Skip to main content
Module

x/sentry/index.d.ts>setTag

The Official Sentry Deno SDK
Go to Latest
function setTag
import { setTag } from "https://deno.land/x/sentry@7.109.0/index.d.ts";

Set key:value that will be sent as tags data with the event.

Can also be used to unset a tag, by passing undefined.

Parameters

key: string

String key of tag

value: Primitive

Value of tag

Returns

ReturnType<Hub["setTag"]>