Changes

Jump to navigation Jump to search
no edit summary
Line 5: Line 5:  
Statistics will be collected by analyzing regular requests to an API server and stored for each Sugar Network node. It will be  possible to get direct access to these stats using node's [[Sugar_Network/API#Node_statistics|API]].
 
Statistics will be collected by analyzing regular requests to an API server and stored for each Sugar Network node. It will be  possible to get direct access to these stats using node's [[Sugar_Network/API#Node_statistics|API]].
   −
== Common statistics ==
+
== Events ==
    
Statistics will be collected per Sugar Network [[Sugar_Network/Resources|resource type]].
 
Statistics will be collected per Sugar Network [[Sugar_Network/Resources|resource type]].
Line 16: Line 16:  
* '''topics'''<br>Total number of top-level ''Post'' objects;
 
* '''topics'''<br>Total number of top-level ''Post'' objects;
 
* '''posts'''<br>Total number of dependent ''Post'' objects.
 
* '''posts'''<br>Total number of dependent ''Post'' objects.
  −
== Per object statistics ==
  −
  −
While calculating [[#Common_statistics|common]] statistics, nodes generate per object sums as well.
  −
  −
These are the Sugar Network [[Sugar_Network/Resources|resources]] that will be affected:
  −
  −
''Context'' properties:
  −
* '''Context.rating'''<br>Average rating given to the ''Context'' while reviewing, rating value is a tuple of votes sum and number of reviews;
  −
* '''Context.solves'''<br>Total number of requested [[Sugar_Network/API#GET-solve|solutions]] for the ''Context''; note that this value does not equal to the number of solution usages on client side since solutions might be cached.
  −
  −
''Post'' properties:
  −
* '''Post.rating'''<br>Average rating given to the ''Post'' while reviewing, rating value is a tuple of votes sum and number of reviews.
      
== Getting involved ==
 
== Getting involved ==
    
{{:Sugar_Network/Feedback}}
 
{{:Sugar_Network/Feedback}}

Navigation menu