Skip to content

Latest commit

 

History

History
54 lines (30 loc) · 2.17 KB

08-monitoring.md

File metadata and controls

54 lines (30 loc) · 2.17 KB

Monitoring

In this module, we will set up monitoring for our application.

Instructions

1. Configure alerts for your application

To be able to react to issues in your application quickly, you can configure alerts for your application.

If you go to the Alerts page, you can see that Lumigo has configured a couple of default alerts.

Default Alerts

By enabling auto-trace on our functions, they have been configured with these default alerts.

Default Alert Functions

But wait, right now, we're alerted every time something goes wrong. That's a bit too much. Let's dial it down a notch and set up the alerts so that we receive a maximum of one alert every hour.

Click on each of the alerts and change the Alert Frequency in the dialogue to 1 Hour. Don't forget to click Save Alert when you're done.

Alert Frequency

2. Configure new alerts

Let's add another alert, click the Add Alert button on the top right.

In the new dialogue, choose Alert Type as Error Ratio and set the percentage to 5%.

New Alert

Next, select the 7 functions we have.

New Alert Functions

Finally, we have to choose how we want to be notified. If you follow the here link below...

Alert Channel

you will arrive at the Integrations page where you can integrate with other vendor software you might be using already.

Alert Channel

Finally, click Add Alert to finish the process.

3. Trigger an error in the application

Go back to the app, request a bunch of unicorns like you did earlier. You should see lots of Unicorn not available error messages.

And sure enough, a short while later you will receive an alert via the medium you configured: Notification rules

Next Steps

Proceed to the next module in this workshop: