You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* histogram
* user can pass buckets
* bucket size arg parsing works
* code cleanup and added exmaple
* comments
* made example more comprehensive and add support for chars
* Update pkg/stats/stats.go
Co-authored-by: Krisztian Fekete <[email protected]>
* Update pkg/stats/stats.go
Co-authored-by: Krisztian Fekete <[email protected]>
* Update pkg/stats/stats.go
Co-authored-by: Krisztian Fekete <[email protected]>
* fix compiler error
* added GPL license identifier to example
* added attribution comment to example
* Update pkg/cli/internal/commands/run/run.go
Co-authored-by: Krisztian Fekete <[email protected]>
* fixed bug where couldn't set histogram key
---------
Co-authored-by: Krisztian Fekete <[email protected]>
flags.StringArrayVarP(&opts.histValueKey, "hist-value-key", "k", []string{}, "Key to use for histogram maps. Format is \"map_name,key_name\"")
46
55
flags.BoolVar(&opts.notty, "no-tty", false, "Set to true for running without a tty allocated, so no interaction will be expected or rich output will done")
47
56
flags.StringVar(&opts.pinMaps, "pin-maps", "", "Directory to pin maps to, left unpinned if empty")
48
57
flags.StringVar(&opts.pinProgs, "pin-progs", "", "Directory to pin progs to, left unpinned if empty")
@@ -72,6 +81,10 @@ $ bee run -f="events,comm,node" ghcr.io/solo-io/bumblebee/opensnoop:0.0.7
72
81
73
82
To run with multiple filters, use the --filter (or -f) flag multiple times:
74
83
$ bee run -f="events_hash,daddr,1.1.1.1" -f="events_ring,daddr,1.1.1.1" ghcr.io/solo-io/bumblebee/tcpconnect:0.0.7
84
+
85
+
If your program has histogram output, you can supply the buckets using --buckets (or -b) flag:
86
+
TODO(albertlockett) add a program w/ histogram buckets as example
87
+
$ bee run -b="events,[1,2,3,4,5]" ghcr.io/solo-io/bumblebee/TODO:0.0.7
0 commit comments