It is often very useful to send some extra information along with the errors and performance metrics so that you can filter them in the Atatus dashboard.

Compatibility

Compatible with Node.js agent version 1.x or higher

Syntax

atatus.setTags(tags)

Parameter

Parameter Type Description
tags array(String) (Required) Can contain array of tags.

Example

copy
icon/buttons/copy
import atatus from 'atatus-nodejs';

atatus.setTags(['node-server', 'development'])

See also