Wednesday, April 12, 2017

Alerting in Oracle Application Performance Monitoring (APM)

Oracle has a "cloud" service that they offer as part of their Oracle Cloud ecosystem called Oracle Application Performance Monitoring or Oracle APM for short. While there are many features that may be useful, the value of monitoring is not that you can just look at the pretty graphics.

Some of the real power that can come from APM is around alerts, and being able to set them up on the various metrics which are available. To start click on Alerts on the left menu.

This will take you to a page where you hopefully won't have anything listed, and at most they will hopefully be warnings. Below is just a sandbox environment so I'm not to worried about any of these.

Now if you actually want to get notifications, you will have to create them. Start off by Select the service you want to use.

Next click Create Alert Rule so that you can start putting together the rule.

 First give it a descriptive name. In this case I chose API_SLAs. Because in this case we just want to make sure that our applications are performing within the SLAs that the business has defined.

Next you have to add the entities that you want the rule to pertain to.

For the purposes of this I am just sticking with APM Server Request. However, you can choose applications and individual paths within those applications should that be necessary.

Once you have the items that you want, start by choosing conditions under which you want to start receiving the alerts.

There are three main categories are Fixed Metric, Anomaly, and Early Warning. For our purposes here, I'll be used all three. First maintain that the error percentage is below certain percentages. Across a 5 minute window.

Next we are making sure that our Average response time remains consistent.

We are also going to check that the response times are specifically sub-second.

With all of these conditions, the last thing we need to do is send the notifications to somewhere.

That's it! Now anytime attache applications fall outside of our defined SLAs we will get notified so that we can determine what seems to be going on.

This blog post is part of a series of blog posts related to the Oracle Management Cloud: