Add Options for PI Web API Call Statistics
Add auditing or a view of statistics for the calls or requests done by each individual application. Allow a PI Admin to see which user or application is making a specific call and see how long it takes to complete to monitor performance and potentially resource intensive Web API calls.
We are starting to implement performance counters and statistics for PI Web API.
What is the planned delivery date of the next feature release? and are you able to give a preview how this will look like in that release?
AdminKevin Geneva (Admin, OSIsoft) commented
The current status has not changed. We are still working on implementing this feature, and it will be available in the next feature release.
In light of Peter's comment, I just wanted to point out that we have also been waiting a long time for this new feature to be released - when the feature was switched to the "in development" state we even stopped our efforts on a custom development of some scripts to have statistics on WEB API usage on our own.
This request is now open for almost 4 years. Last august you informed that the development on this has been started.
Melissa Rothnie commented
We're having ongoing stack overflow memory leaks with WebAPI 2017R2. Desperate for more stats to alert us ahead of frustrated user calls.
Bruce C. McCamant commented
We'd like to know when clients are not able to connect or are getting timeouts on their queries. See Case 885702. The particular event of May 30 which prompted the case is a situation we want to be on top of - we want proactive intelligence of when it is happening instead of having a customer report the issue
Wilson Laizo Filho commented
Right now we are trying to find some problems with our current WebAPI 2017R2 and without these it's been pretty hard. I can get some of the values looking at the Debug/Audit logs, but it takes a lot of time. Things like Average response time, Number of calls per second/minute, total number of calls, failed requests, maybe a different counter for each different type of call (POST, GET, BATCH, etc).
Also some general performance counters like requests per second (or minute), response time, ... to get an idea how intensively the api is called.
Maxime HEBERT commented
Could you also add failed requests counters?