Skip to main content
Module

x/sentry/index.mjs>setTag

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

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"]>