Page 1 of 1

Server Code Statistics not working

Posted: Wed Jan 08, 2014 2:27 pm
by William Bradee

I have several Server Code implementations. The statistics are all zeros, even though I know I am running them.


Server Code Statistics not working

Posted: Wed Jan 08, 2014 2:37 pm
by Kateryna Grynko

Hi William,

Please try running Server Code clicking a button "run". Is the statistic value changed?


Server Code Statistics not working

Posted: Wed Jan 08, 2014 3:53 pm
by William Bradee

OK, I see that if I go to "Test" and hit "Run" it does increment.

So if that's how it's intended to work, it's working.

Thanks


Server Code Statistics not working

Posted: Thu Jan 09, 2014 4:38 pm
by maxkatz

I checked with the dev. team and all requests (tests and invocations via API) should be counted in statistics. Are you still only seeing statistics when you click Test inside the Server Code tab?


Server Code Statistics not working

Posted: Thu Jan 09, 2014 7:28 pm
by William Bradee

Ok, now I see two place stats are displayed.

1) when you go to Server Code "tab." These are aggregate (for the month?):

Image

2) when you go Open the script, there's a Statistics button.

Image

The latter only shows executions via Test. That is unexpected.


Server Code Statistics not working

Posted: Thu Jan 09, 2014 7:39 pm
by maxkatz

I can't reproduce this. Both views show the correct number of invocations (test and via curl).

Can you create a brand new script and try again? Just use the default script.


Server Code Statistics not working

Posted: Thu Jan 09, 2014 8:03 pm
by William Bradee

OK, give your script an alias.

Looks like it is not recording calls via the alias, and all my scripts have alias.

If I run with the default GUID link, it DOES record stats.

That explains a lot, the stats never looked right.


Server Code Statistics not working

Posted: Thu Jan 09, 2014 8:04 pm
by William Bradee

OK, give your script an alias.

It is not recording calls via the alias, and all my scripts have aliases.

If I run with the default GUID link, it DOES record stats.


Server Code Statistics not working

Posted: Thu Jan 09, 2014 9:15 pm
by Maryna Brodina

Hello! Thank you for description! We reported a bug.


Server Code Statistics not working

Posted: Mon Apr 14, 2014 1:25 pm
by Maryna Brodina

Hello!

This bug was fixed.