-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): add connection stats to the access key metrics (#1634)
* Make it clear that the first value is a timestamp. * Use `Promise.all()` to make send the network requests concurrently. * Add a function to send a range query. * Add `lastConnected` and `lastTrafficSeen` metrics. * Add `peakDevices` metrics. * Account for missing ASN or ASOrg data. * Align `getServerMetricsAccessKeyEntry()` with `getServerMetricsServerEntry()`. * Update test cases for manager metrics. * Fix comment "down" -> "up". * Remove `@throws` JSDoc comments. * Remove duplication across query functions. * Change from `Date` to `number` type. * Remove the use a heap in `findPeak()`.
- Loading branch information
Showing
4 changed files
with
457 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.