-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deleted InitDPMetrics and moved what it does to NewDP. * moved initMetrics back to dataplane.go because it is a dataplane method. * shifted some of the label manipulation in initMetrics into initInterfaceMetrics to minimize dataplane's exposure to metrics mechanics. * sorted declarations in metrics.go to keep important structs together. * fixed string representation of size class label values * implement trafficMetrics.Output as an array instead of a map. * renamed some init* functions to new*, to better eflect what they do. * reformated to 100 columns.
- Loading branch information
1 parent
7d17454
commit aefb839
Showing
4 changed files
with
132 additions
and
138 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
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
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.