William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code Statistics not working

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Server Code Statistics not working

Hi William,

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

William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code Statistics not working

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Server Code Statistics not working

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?

William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code Statistics not working

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Server Code Statistics not working

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.

William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code Statistics not working

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.

William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

Server Code Statistics not working

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Server Code Statistics not working

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Server Code Statistics not working

Hello!

This bug was fixed.

Return to “Issues”