Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vinibgoulart/observability-with-discord

🦅 App observability using Discord
https://github.com/vinibgoulart/observability-with-discord

discord observability typescript

Last synced: about 2 months ago
JSON representation

🦅 App observability using Discord

Awesome Lists containing this project

README

        


🦅 App observability using Discord 🦅


Observability is an extremely important practice so that you have an idea of what is happening in your app and receive updates from new interactions.

See a **How to build** blog post in dev.to: https://dev.to/vinibgoulart/how-to-monitor-an-app-in-production-using-discord-chanels-foh

## How To Run
### Requirements
- Have a discord channel and your webhook link

#### Clone this repository, go into and install dependencies
```bash
git clone https://github.com/vinibgoulart/observability-with-discord
cd observability-with-discord
yarn
```

#### Create .env based on .env.example variables
```bash
DISCORD_CHANNEL_WEBHOOK=
```

#### Start the server
```bash
yarn start
```
Now just access `localhost:4000/observability` in your browser

Now, if you access this url `localhost:4000/observability` you will see it:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tb2kuguwurqoo1wtbxnt.png)

And if you check your discord channel it has something like this:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y7jepewbrzphm2j6f9xo.png)