Line 9: |
Line 9: |
| * ''absolute''<br>value to use as-is, e.g., amount of free disk space; | | * ''absolute''<br>value to use as-is, e.g., amount of free disk space; |
| * ''uptime''<br>number of seconds since event start, e.g., how long window is active; if event is not active, value will be reset to zero; | | * ''uptime''<br>number of seconds since event start, e.g., how long window is active; if event is not active, value will be reset to zero; |
− | * ''counter''<br>counter value that is being incremented all time without resetting to zero; | + | * ''gauge''<br>is for things like temperatures or number of people in a room, i.e., value can grow and fall in time; |
− | * ''relative-counter''<br>a counter, number of times event was registered since upstream event start; if upstream event is not active, value will be reset to zero, e.g., '''journal.creates''' will be incremented if Journal runs and will be resent to zero after Journal closing. | + | * ''counter''<br>a counter, number of times event was registered during single time frame; value can be more or equal to zero. |
| | | |
| == Statistics == | | == Statistics == |
Line 23: |
Line 23: |
| ** '''journal.uptime''' ''uptime''<br>How long Journal is running. | | ** '''journal.uptime''' ''uptime''<br>How long Journal is running. |
| ** '''journal.active''' ''uptime''<br>How long Journal window is on top. | | ** '''journal.active''' ''uptime''<br>How long Journal window is on top. |
− | ** '''journal.creates''' ''relative-counter''<br>Number of create requests sent from the Journal window. | + | ** '''journal.creates''' ''counter''<br>Number of create requests sent from the Journal window. |
− | ** '''journal.updates''' ''relative-counter''<br>Number of update requests sent from the Journal window. | + | ** '''journal.updates''' ''counter''<br>Number of update requests sent from the Journal window. |
− | ** '''journal.deletes''' ''relative-counter''<br>Number of delete requests sent from the Journal window. | + | ** '''journal.deletes''' ''counter''<br>Number of delete requests sent from the Journal window. |
| * '''''activity'''''<br>Activities related stats; specified only for the particular activity. | | * '''''activity'''''<br>Activities related stats; specified only for the particular activity. |
| ** '''activity.uptime''' ''uptime''<br>How long Activity is running. | | ** '''activity.uptime''' ''uptime''<br>How long Activity is running. |
| ** '''activity.active''' ''uptime''<br>How long Activity window is on top. | | ** '''activity.active''' ''uptime''<br>How long Activity window is on top. |
− | ** '''activity.instances''' ''counter''<br>How many instances launched. | + | ** '''activity.instances''' ''gauge''<br>How many instances launched. |
− | ** '''activity.new''' ''relative-counter''<br>How many running instances with new Journal entity. | + | ** '''activity.new''' ''counter''<br>How many running instances with new Journal entity. |
− | ** '''activity.resumed''' ''relative-counter''<br>How many running instances with resumed Journal entity. | + | ** '''activity.resumed''' ''counter''<br>How many running instances with resumed Journal entity. |
− | ** '''activity.buddies''' ''counter''<br>Number of buddies Activity is interacting with for all running instances. | + | ** '''activity.buddies''' ''gauge''<br>Number of buddies Activity is interacting with for all running instances. |
| * '''''application'''''<br>Applications related stats in non-Sugar mode; specified only for the particular application. | | * '''''application'''''<br>Applications related stats in non-Sugar mode; specified only for the particular application. |
| ** '''application.uptime''' ''uptime''<br>How long application is running. | | ** '''application.uptime''' ''uptime''<br>How long application is running. |