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

x/sentry/index.d.ts>setTag

The Official Sentry Deno SDK
Latest
function setTag
import { setTag } from "https://deno.land/x/sentry@7.120.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"]>