1
0
Fork 0
No description
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
2023-09-26 21:43:36 +00:00
app Initial commit 2023-09-26 21:43:36 +00:00
infra Initial commit 2023-09-26 21:43:36 +00:00
.editorconfig Initial commit 2023-09-26 21:43:36 +00:00
.gitlab-ci.yml Initial commit 2023-09-26 21:43:36 +00:00
README.md Initial commit 2023-09-26 21:43:36 +00:00

Sentry Kubernetes Demo

This demo is made for a NodeJS app, but the same applies to other languages and runtimes.

Infra

This repository contains Terraform definitions for Kubernetes on Digital Ocean.

DNS is provided by Cloudflare with your domain.

Kubernetes

  • 3 node cluster (each node is 2 CPU and 4Gi RAM)

App

Simple NodeJS (Express) application with a couple endpoints to demonstrate Sentry basics - see NodeJS example app for Sentry

Endpoints

/hello

  • Status code: 200
  • Response: World
  • No Sentry entry

/exception

Caught exception

  • Status code: 500
  • No response
  • Caught exception in Sentry

/uncaught-exception

Uncaught exception

  • Status code: 500
  • No response
  • Uncaught exception in Sentry

/error-message

A custom message sent to Sentry

  • Status code: 500
  • No response
  • Custom message in Sentry