netbird/management/server/http
Bethuel Mmbaga d97b03656f
[management] Refactor HTTP metrics (#2476)
* Add logging for slow SQL queries in SaveAccount and GetAccount

* Add resource count log for large accounts

* Refactor metrics middleware to simplify counters and histograms

* Update log levels and remove redundant resource count check
2024-08-23 19:42:55 +03:00
..
api When creating new setup key, "revoked" field doesn't do anything (#2357) 2024-08-01 17:13:58 +02:00
middleware Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
util Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
accounts_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
accounts_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
dns_settings_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
dns_settings_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
events_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
events_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
geolocation_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
geolocations_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
groups_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
groups_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
handler.go [management] Refactor HTTP metrics (#2476) 2024-08-23 19:42:55 +03:00
nameservers_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
nameservers_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
pat_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
pat_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
peers_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
peers_handler.go [management] Improve mgmt sync performance (#2363) 2024-08-07 10:52:31 +02:00
policies_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
policies_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
posture_checks_handler_test.go Fix lint (#2427) 2024-08-14 13:30:10 +03:00
posture_checks_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
routes_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
routes_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
setupkeys_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
setupkeys_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
users_handler_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
users_handler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00