Skip to content

sansjack/monitro-sdk

Repository files navigation

Monitro SDK

This is the official sdk for monitro.dev Currently this package is in beta, so expect breaking changes.

Installation

npm install monitro
bun add monitro
bun add monitro

Usage

import { Monitro } from 'monitro'

const monitro = new Monitro('my-service', 'api-key' , { hookExceptions: true, dev: false })

monitro.info('Info Event', 'this is a detailed info message')
monitro.warn('Warning Event', 'this is a detailed warning message')
monitro.error('Error Event', 'this is a detailed error message')

Read the docs for more information documentation

About

The official SDK for monitro.dev

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published