Page 213 of Platform SDK Developer's Guide
A Typical Statistics Application
There are many ways in which you might need to use data from Stat Server, but in most cases, you will use three
types of requests:
• RequestOpenStatistic and RequestOpenStatisticEx are used to ask Stat Server to start sending statistical
information to your application. RequestOpenStatistic allows you to request information about a statistic that has
already been defined in the Genesys Configuration Layer, while you can use RequestOpenStatisticEx to define
your own statistics dynamically.
• You can use
RequestPeekStatistic to get the value of a statistic that has already been opened using either
RequestOpenStatistic or RequestOpenStatisticEx. Since it can take a while for certain types of statistical
information to be sent to your application, this can be useful if you are writing an application-such as a wallboard
application, for instance-for which you would like statistical values to be displayed immediately.
• Use RequestCloseStatistic to tell Stat Server that you no longer need information about a particular statistic.
------------------------------
Todd McCall
Bank of America
------------------------------
Original Message:
Sent: 03-14-2019 05:03
From: DEEPTI SRIVASTAVA
Subject: Stat server statistic fetching issue from PSDK
I have changed ObjectID from GMS_VQ_agc_sip_switch to GMS_VQ@agc_sip_switch.
Now Statistic is opening but not getting complete message attribute(QueueAverageWaitingTime exact value). What I suppose to do for getting complete message attributes.
response = {'EventStatisticOpened' ('22')
message attributes:
REQ_ID [int] = 2
USER_REQ_ID [int] = 0
TM_SERVER [int] = 1552553909
TM_LENGTH [int] = 0
LONG_VALUE [int] = 0
}
Original Message------
I don't know if it's just the way your code has pasted across, but I believe your ObjectId needs to @ symbol for it to work. eg. GMS_VQ@agc_sip_switch
assuming your switch is called agc_sip_switch.
And of course the switch should be defined at the Environment level if that's the Tenant your defining.
------------------------------
Jason Mclennan
Commonwealth Bank of Australia
------------------------------