Product Documentation

GetConcurrentSessionsTrend

Jul 24, 2013

Gets data points to represent a trend of concurrent sessions as a list of DateTime/value pairs for the specified time period. Each point represents the maximum number of concurrent sessions over the interval specified. The last point in the trend can represent the number of current users in the system.

Parameter Name Type Comments
startDate DateTime Start of the time window to be queried for concurrent sessions. Must be UTC. Inclusive.
endDate DateTime End of the time window to be queried for concurrent sessions. Must be UTC. Inclusive.
intervalLength int Interval between data points in minutes for the trend.

Returns

IQueryable list of TrendItem objects - IQueryable<TrendItem> ordered by Date ascending.

Each TrendItem contains a UTC Date (DateTime) property and a Value property (double) for plotting the trend.

Example

Gets a one hour trend (data point every minute) of the concurrent sessions:

http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetConcurrentSessionsTrend?startDate=datetime'2012-06-05T12:26:00'&endDate=datetime'2012-06-05T13:26:00'&intervalLength=1