The Metrics Tracking Interval
Mediator tracks performance metrics by intervals. The interval is a period of time you set in
Mediator, during which metrics are collected for reporting to
CentraSite. You set the interval in the
Publish Interval field on the
Mediator > Administration > CentraSite Communication page in the
Integration Server Administrator (see
Configuring Communication with
CentraSite).
Mediator only tracks metrics for the current interval. At the end of the interval, Mediator aggregates the metrics and reports them to CentraSite. Once the metrics are reported, Mediator resets its counters for the new interval. Mediator does not calculate and aggregate metrics across intervals. If Mediator is shut down or the virtual service is undeployed before the current interval expires, the performance data is discarded.
Note: | To avoid the need for Mediator to store metrics during periods of inactivity, Mediator stores only first and last zero value metrics that occurs during an interval, and discards the remaining consecutive zero value metrics. Doing this drastically reduces the storage space consumed by the metrics and speeds the queries you perform in the dashboard. Skipping the in-between zero metrics does not affect in the performance graphs shown in the dashboard. |
Examples of interval metric publishing
For example, suppose that the tracking interval is 10 minutes. One of the key performance indicator (KPI) metrics is Availability, which reports the amount of time that a service was available during the current interval, shown as a percentage. The green boxes indicate successful requests and the red ones indicate unsuccessful requests.
A request is considered unsuccessful when a network fault occurs or when the back-end service is unavailable for any reason. In the case of a normal application-level SOAP fault, Mediator considers the request to be successful. In the illustration, in Interval 1 (0 - 10 minutes) a request failed at the 4 minute mark, followed by a successful request at the 5 minute mark. Therefore, Mediator considers the interval between 4 and 5 minutes to be service downtime (even though this may not be accurate). So in this case, for Interval 1 the availability is 9/10 (90%). In the case of Interval 2, only one request was sent, and it failed at the 1 minute mark. Therefore, Mediator considers the time between 1 minute to the end of the interval as service downtime. So the time between the start of Interval 2 (the 10 minute mark) to the failed request is service uptime (1 minute); the availability is 1/10 (10%) for Interval 2. At the end of the interval, Mediator resets the KPI metrics.