Commit Graph

33 Commits

Author SHA1 Message Date
Shreyas Zare
4fccdb522c StatsManager: minor code refactoring done. 2022-03-12 15:36:13 +05:30
Shreyas Zare
e6b2615693 StatsManager: Updated DoMaintenance() to unload not required minute stats from cached hourly stats data for objects older than 1 hour to free memory. 2022-02-20 17:54:39 +05:30
Shreyas Zare
2ac3f4f483 minor changes 2021-11-06 13:29:21 +05:30
Shreyas Zare
00be9b8210 StatsManager: updated code to pass timestamp to InsertLogAsync(). Minor refactoring done. 2021-10-02 12:31:49 +05:30
Shreyas Zare
2614275a0a StatsManager: minor refactoring. 2021-09-26 17:10:46 +05:30
Shreyas Zare
407a5a19e2 StatsManager: Code refactoring done. 2021-09-25 13:41:37 +05:30
Shreyas Zare
161c7d5c9b code refactoring changes done 2021-09-18 11:53:34 +05:30
Shreyas Zare
39f5437795 StatsManager: implemented IDnsLogger to allow dns apps to log requests and responses. Code refactoring done. 2021-09-11 15:07:54 +05:30
Shreyas Zare
d24aaf0c28 StatsManager: fixed total clients stat implementation considering that daily stats has truncated list of unique clients and thus finding unique clients is not possible when data is truncated. 2021-08-21 15:11:51 +05:30
Shreyas Zare
d5e61db98b StatsManager: fixed bug while merging stats causing total clients stats to show non unique client count. 2021-08-21 12:15:05 +05:30
Shreyas Zare
9c5a235bc7 StatsManager: added separate counter for clients since the clients list is getting truncated for daily stats. 2021-08-14 11:46:39 +05:30
Shreyas Zare
3a01ba835c StatsManager: updated implementation for query rate limiting feature support. Code refactoring done. 2021-08-07 12:35:11 +05:30
Shreyas Zare
b6a76db11e StatsManager: updated code to track refused response stats per client. 2021-05-29 12:40:19 +05:30
Shreyas Zare
dec9f19d5c StatsManager: implemented GetClientStats() method to return per client query count stats for QPM limit feature. 2021-05-23 17:56:20 +05:30
Shreyas Zare
55abc83841 StatsManager: updated module to truncate the daily stats file to top 1000 records to prevent loading large amount of data in memory. Updated code to return top 10 query type stats. 2021-05-01 13:56:34 +05:30
Shreyas Zare
ba7b053bf0 refactored NameError to NxDomain 2021-04-11 17:40:23 +05:30
Shreyas Zare
cde6a24286 StatsManager: fixed minor issue in GetHourWiseStats() and GetHourWiseTopStats() to match data selection. 2021-02-27 19:30:48 +05:30
Shreyas Zare
a49697e5f9 StatsManager: implemented custom date range stats and top stats methods. code refactoring done to reuse same methods. 2021-02-14 15:18:54 +05:30
Shreyas Zare
08c2d859a7 StatsManager: made max stat file days as configurable setting. Removed loadQueryStats option to avoid file loading errors. 2021-01-17 17:50:24 +05:30
Shreyas Zare
4be8336e80 StatsManager: updated StatCounter to store query stats data. Updated implementation to load query stats only for last hour data. 2021-01-16 18:01:58 +05:30
Shreyas Zare
4180bc4fbc minor refactoring 2020-12-25 19:27:48 +05:30
Shreyas Zare
1bf2e43ec4 StatsManager: implemented top stats feature. 2020-12-25 18:29:21 +05:30
Shreyas Zare
7d75e2f430 StatsManager: added ReloadStats() method. 2020-12-20 16:58:12 +05:30
Shreyas Zare
e7b42d64a3 StatsManager: implemented cleanup timer to automatically remove old stats files from disk. Added DeleteAllStats() to allow deleting all stats files and clearing in memory stats data. 2020-12-19 12:38:13 +05:30
Shreyas Zare
bf6f92b542 minor code refactoring done. 2020-12-06 17:00:05 +05:30
Shreyas Zare
7a9db44855 StatsManager: using BlockingCollection. 2020-08-29 14:29:11 +05:30
Shreyas Zare
690ac9de2d StatsManager: updated maintenance timer interval to count stats early. 2020-07-18 12:08:56 +05:30
Shreyas Zare
e8f22ec88f StatsManager: code refactoring done. 2020-06-06 16:31:25 +05:30
Shreyas Zare
ad25dee604 StatsManager: implemented queuing mechanism to fix thread contention issues. Code refactoring done. 2020-05-23 17:05:30 +05:30
Shreyas Zare
fcd6cd53a0 minor code optimization changes done. 2020-02-29 18:16:05 +05:30
Shreyas Zare
5a38e2c4d5 StatsManager: fixed minor bug to count stats correctly using case insensitive domain name. 2019-12-14 16:50:42 +05:30
Shreyas Zare
42cc59c3c4 StatsManager: updated stats collection implementation to record auth & recursive response stats. 2019-06-29 12:11:54 +05:30
Shreyas Zare
3338038867 dns server code refactoring done. 2019-06-15 13:28:39 +05:30