diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-27 10:15:01 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-27 10:15:01 +1300 |
commit | 18499577b16a198762609075ff1846f354d3d712 (patch) | |
tree | 0d33302e1193724405099e1108ba04cad552a95e /debug.xml | |
parent | aaec58aec04256845dc37afd713b488071b1406b (diff) | |
parent | ccd4a65a4954bcd7d2c38b806440bb766c51b0e2 (diff) | |
download | trackermap-server-18499577b16a198762609075ff1846f354d3d712.tar.gz trackermap-server-18499577b16a198762609075ff1846f354d3d712.tar.bz2 trackermap-server-18499577b16a198762609075ff1846f354d3d712.zip |
Merge pull request #2367 from tananaev/implement_statistics
Implement server statistics collection
Diffstat (limited to 'debug.xml')
-rw-r--r-- | debug.xml | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -353,6 +353,15 @@ DELETE FROM attribute_aliases WHERE id = :id; </entry> + <entry key='database.selectStatistics'> + SELECT * FROM statistics; + </entry> + + <entry key='database.insertStatistics'> + INSERT INTO statistics (captureTime, activeUsers, activeDevices, requests, messagesReceived, messagesStored, attributes) + VALUES (:captureTime, :activeUsers, :activeDevices, :requests, :messagesReceived, :messagesStored, :attributes); + </entry> + <!-- PROTOCOL CONFIG --> <entry key='gps103.port'>5001</entry> |