UWAGA: poniższa dokumentacja dotyczy nieakutalnej wersji API (2.0.0). Kliknij aby przejść do aktualnej dokumentacji.

<<

NAME

Stats - Monitoring statistics.

FORMAL SPECIFICATION

WSDL: https://api.cloudmonit.pl/2.0.0/wsdl/Stats.wsdl

JSON: https://api.cloudmonit.pl/2.0.0/json/Stats.json

DESCRIPTION

This module contains methods to fetch monitoring statistics for your services.

METHODS

Checks

Returns a list of service checks from a chosen period of time.

A single check is identified by the triple service_id, location_id and iteration_id. Checks with the same iteration_id and service_id are logically connected: they are performed from all locations at the same time, and whether the service works or not is determined by examining all of the results (the minimum required percentage of locations reporting an error can be set by the error_tolerance service feature).

Each check represents a single "dot" in the response time plot (see this screenshot). The parameter plotted is check_time. Vertical lines represent checks with the same iteration_id, and colorful lines connecting the points connect checks with the same location_ids (you can get these "official" location colors by using the Read and Find methods from the Location module if you like).

Arguments

Returns

An array of objects, each containg the fields:

Authorization

This method can be called by read-only users.

ErrorList

Most recent errors detected for a service.

Arguments

Returns

An array of objects, each containg the fields:

Authorization

This method can be called by read-only users.

HARContent

Returns an encoded HAR file. A single HAR file is identified by the service id, iteration id and location id

Arguments

Returns

Authorization

This method can be called by read-only users.

HARList

Returns a list of HAR file identifiers for a service from a chosen period of time.

Arguments

Returns

An array of objects, each containg the fields:

Authorization

This method can be called by read-only users.

Meta

Returns the JSON or WSDL specification of the Stats API module.

WARNING

This method is meant for internal usage in API clients. Unless you are writing one, you probably do not need it.

Arguments

Returns

Authorization

This method can be called by read-only users.

MonthlyCheckCounters

Returns number of service checks in a month for each partner's user. Only partners can call this method.

Arguments

Returns

An array of objects, each containg the fields:

Authorization

This method can be called by read-only users.

MonthlyGroupCheckCounters

Returns number of service checks in a month for each partner user's group. Only partners can call this method.

Arguments

Returns

An array of objects, each containg the fields:

Authorization

This method can be called by read-only users.

ResponseTime

Service response time statistics for a time interval.

Arguments

Returns

Authorization

This method can be called by read-only users.

ServiceLevel

Returns service level (percentage of time the service worked correctly) for a single service or all services in a chosen time period.

Arguments

Returns

An array of objects, each containg the fields:

Authorization

This method can be called by read-only users.

ServiceLevel1H

Hourly service availability statistics.

Arguments

Returns

An array of objects, each containg the fields:

Authorization

This method can be called by read-only users.

ServiceLevelSummary

Returns Service Level of all services for the last hour, day and week.

Arguments

None.

Returns

Authorization

This method can be called by read-only users.

<<