-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
router: extend packet processing metrics (#4422)
Improve metrics for router packet processing: * Classify packets by size bucket: log2(size) * Classify packets by traffic type: incoming, outgoing, as-transit-in/out, br-transit. * Add process-level on-cpu and sleep time accounting
- Loading branch information
1 parent
a82e4fb
commit fa43782
Showing
15 changed files
with
813 additions
and
209 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,11 @@ _build | |
node_modules | ||
|
||
# gobra | ||
####### | ||
*.vpr | ||
tmp/ | ||
logger.log | ||
|
||
# emacs backup files | ||
#################### | ||
*~ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
load("//tools/lint:go.bzl", "go_library") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = [ | ||
"processmetrics_linux.go", | ||
"processmetrics_other.go", | ||
], | ||
importpath = "github.com/scionproto/scion/pkg/private/processmetrics", | ||
visibility = ["//visibility:public"], | ||
deps = select({ | ||
"@io_bazel_rules_go//go/platform:aix": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:android": [ | ||
"//pkg/private/serrors:go_default_library", | ||
"@com_github_prometheus_client_golang//prometheus:go_default_library", | ||
"@com_github_prometheus_procfs//:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:darwin": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:dragonfly": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:freebsd": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:illumos": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:ios": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:js": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:linux": [ | ||
"//pkg/private/serrors:go_default_library", | ||
"@com_github_prometheus_client_golang//prometheus:go_default_library", | ||
"@com_github_prometheus_procfs//:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:netbsd": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:openbsd": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:plan9": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:solaris": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"@io_bazel_rules_go//go/platform:windows": [ | ||
"//pkg/private/serrors:go_default_library", | ||
], | ||
"//conditions:default": [], | ||
}), | ||
) |
Oops, something went wrong.