Skip to content
 
 

Repository files navigation

Sentry is a developer-first error tracking and performance monitoring platform that helps developers see what actually matters, solve quicker, and learn continuously about their applications; and roblox-sentry helps you get your game up and running in no time!

  • Capture console errors and warnings from the get-go!
  • Add context that helps you find the root problem.
  • Catch client errors that may go unreported.
  • Track player sessions

Getting Started

Install for roblox-ts:

pnpm add @rbxts/sentry # Using your preferred package manager
// sentry.server.ts
import SentrySDK from "@rbxts/sentry";

SentrySDK.Init({ DSN: "<DSN FROM YOUR SENTRY PROJECT>", });

Install for Luau:

There are two supported ways to install Sentry for Luau projects:

Static Install

Head over to the releases tab and download the prepared .rbxm file. Insert this file into your game and drag it wherever you'd like to keep your ModuleScripts. It must be parented somewhere that replicates to clients, such as ReplicatedStorage, if you intend to monitor client errors too.

Wally Install

This repository is available from wally! Just add it to your wally.toml file.

[dependencies]
Sentry = "devsparkle/sentry-roblox@^1.0.0"

This install has the benefit of easily updating whenever we release bugfixes, security patches and even new features, just by using wally update!

Usage

To complete the installation, add a server-sided script in your game, and paste the following contents:

local SentrySDK = require(game:GetService("ReplicatedStorage").SentrySDK)

SentrySDK:Init({
	DSN = "<DSN FROM YOUR SENTRY PROJECT>"
})

About

An unofficial Roblox SDK for Sentry.io

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages