Commit Graph
100 Commits
Author SHA1 Message Date
Bradley Cicenas 8aa932b29f Toggle debug mode via env var
remove logging param from global config, allowing logging server and
level to be configured inside logging subpackage from CTOP_DEBUG env var
2017-03-19 15:10:03 +10:00
Bradley Cicenas 35cc8d095d include Makefile instructions for building image from source 2017-03-19 15:10:03 +10:00
Bradley Cicenas 26b88a9790 add Makefile 2017-03-18 10:38:03 +10:00
Bradley Cicenas e62a8881a2 add brew install steps 2017-03-15 19:45:41 +10:00
Bradley Cicenas a5b2e7b074 update aur link 2017-03-15 12:49:42 +10:00
Bradley Cicenas a87bdce0fe update keybindings in readme 2017-03-15 12:00:40 +10:00
Bradley Cicenas 2228188ebf v0.5 2017-03-15 10:08:26 +10:00
Bradley Cicenas e94a9c0cc2 remove redundant bool comparisons 2017-03-15 10:06:52 +10:00
Bradley Cicenas e82d77ecb0 add option for color inversion 2017-03-15 10:02:46 +10:00
Bradley Cicenas 50b4181866 update circle config 2017-03-15 09:16:04 +10:00
Bradley Cicenas 1285288b9e add validation to sort field option 2017-03-15 08:49:11 +10:00
Bradley Cicenas 2a709577bd add options to readme 2017-03-15 08:41:45 +10:00
Bradley Cicenas 38599bbd19 add keymap, handle wrapper for common keybindings 2017-03-15 08:34:58 +10:00
Bradley Cicenas b3cdb33efc add explicit version to Dockerfile, circleci 2017-03-15 08:34:58 +10:00
Bradley Cicenas 3553b0af9d cap cpu gauge % to 100 in compact view 2017-03-13 09:00:17 +11:00
Bradley Cicenas ca61ec712e prepopulate filter input with current filter, add esc handler 2017-03-13 08:32:33 +11:00
Bradley Cicenas 06c4b24212 add 0..9 to valid input chars 2017-03-13 08:31:51 +11:00
Bradley Cicenas 12fa716825 add y pos scrolling to expanded view 2017-03-13 07:53:17 +11:00
Bradley Cicenas 8327406069 add sort by pid count 2017-03-12 21:11:19 +11:00
Bradley Cicenas 2134110224 add static width for specific columns 2017-03-12 20:58:56 +11:00
Bradley Cicenas 77c3d00e67 update io labels 2017-03-12 16:31:12 +11:00
Bradley Cicenas 85eb5228ae append build steps 2017-03-12 15:00:52 +11:00
Bradley Cicenas b28beed3ee v0.4.1 2017-03-10 20:20:00 +11:00
Bradley Cicenas 2e51406d00 add lock to container map in dockersource 2017-03-10 20:10:39 +11:00
Bradley Cicenas c84b52ce40 add docker image usage to readme 2017-03-10 20:00:00 +11:00
Bradley Cicenas 4ee8cf621a use latest parsed version in dockerfile 2017-03-10 19:51:31 +11:00
Bradley Cicenas 192298c045 add circleci config for docker build 2017-03-10 19:45:04 +11:00
Bradley Cicenas 258536740d build docker image from alpine 2017-03-10 19:37:46 +11:00
Bradley Cicenas b2184bbc6d fixes out of bounds error on filtered selection #7 2017-03-10 12:01:13 +11:00
Bradley Cicenas 96b01eb3b9 add support for TLS via NewClientFromEnv(), remove dockerHost config param 2017-03-10 12:01:13 +11:00
Bradley Cicenas ddce54f991 add AUR to README
fix typo
2017-03-10 09:24:44 +11:00
Bradley Cicenas 168e8f3aae implement Buffer() method for ctop header 2017-03-09 19:33:25 +11:00
Bradley Cicenas ecc37a2f99 ensure Loop() is started before feeding refresh chan 2017-03-09 18:39:11 +11:00
Bradley Cicenas 2f17a9d689 add ctrl+c exit handler 2017-03-09 16:29:34 +11:00
Bradley Cicenas 8a6808c804 trim grid screencap 2017-03-09 12:22:37 +11:00
Bradley Cicenas 3ca94b50cd add LICENSE 2017-03-09 10:41:32 +11:00
Bradley Cicenas 0e3fe88bb4 use consistent case for ctop name 2017-03-09 10:40:35 +11:00
Bradley Cicenas b9b904626c update readme 2017-03-09 10:37:02 +11:00
Bradley Cicenas 1d176d46c4 remove sleep from mocksource container creation 2017-03-09 10:26:29 +11:00
Bradley Cicenas 7026193f8e add expanded view screen cap, docpage 2017-03-09 10:25:29 +11:00
Bradley Cicenas d9b4295176 update grid screencap 2017-03-09 10:13:57 +11:00
Bradley Cicenas 92cc7bc849 add aggression multiplier to mock collector 2017-03-09 09:33:44 +11:00
Bradley Cicenas 70790e88ae v0.4 2017-03-08 22:20:30 +11:00
Bradley Cicenas bcf05b7f42 fix panic on row removal 2017-03-08 22:19:43 +11:00
Bradley Cicenas 2b80832a36 add pagination support for compact view 2017-03-08 18:45:31 +11:00
Bradley Cicenas a6ee6edb1d move MaxRows() method into cgrid 2017-03-08 11:52:31 +11:00
Bradley Cicenas d7f9f715bb fix cursor highlighting for newly filtered containers 2017-03-08 11:46:39 +11:00
Bradley Cicenas 2d2d58d47f filter Containers in place 2017-03-08 11:26:22 +11:00
Bradley Cicenas bf4d59c251 clear screen conditionally 2017-03-08 11:10:38 +11:00
Bradley Cicenas b8eb386360 add global default ColorMap 2017-03-08 10:40:03 +11:00
Bradley Cicenas 02610c59da move logo to docs folder
fix logo path
2017-03-08 08:41:20 +11:00
Bradley Cicenas 71768b498c update release url 2017-03-07 20:22:44 +11:00
Bradley Cicenas 57e49ea2c6 add logo to readme 2017-03-07 20:10:19 +11:00
Bradley Cicenas 4af33fdf12 add screencaps to readme 2017-03-07 14:48:44 +11:00
Bradley Cicenas c955a8310b tweak mock source, add excluding build tag 2017-03-07 13:14:16 +11:00
Bradley Cicenas 98d8dc62f9 add stream to input widget, realtime filtering updates 2017-03-07 12:47:07 +11:00
Bradley Cicenas df8b9fffab add keybindings to readme 2017-03-07 12:17:09 +11:00
Bradley Cicenas b9f5bcea92 add install, usage to readme 2017-03-07 12:15:05 +11:00
Bradley Cicenas aaf98a77dc add version, help printing to main() 2017-03-07 12:04:45 +11:00
Bradley Cicenas d40b765dbb add version, build vars 2017-03-07 11:13:48 +11:00
Bradley Cicenas a1d68833fa lower logging, add keybindings to help menu 2017-03-07 11:09:46 +11:00
Bradley Cicenas a6c6ecc6ee give metrics.MemPercent default negative value 2017-03-07 11:02:40 +11:00
Bradley Cicenas 8e995a37c6 convert expanded mem widget to mbarchart, add innerlabel 2017-03-07 10:58:04 +11:00
Bradley Cicenas d94aed1531 add resize handlers, screen width error to expandedWidgets 2017-03-07 09:05:04 +11:00
Bradley Cicenas 2ee0ae7fcb re-implement expanded view widgets 2017-03-06 19:51:50 +11:00
Bradley Cicenas f102e48cc9 add WidgetUpdater interface to container, replace struct fields with metamap 2017-03-06 19:25:59 +11:00
Bradley Cicenas e1dc42db03 move dumpContainer method into debug 2017-03-06 18:36:13 +11:00
Bradley Cicenas 132335c8a4 remove Grid struct, move cursor into own package file 2017-03-06 14:03:05 +11:00
Bradley Cicenas 662d1d182b reset container metrics on reader stop 2017-03-06 13:05:34 +11:00
Bradley Cicenas 38a1b305a7 grid updates, fix menu alignment 2017-03-06 13:00:30 +11:00
Bradley Cicenas 4b035ad52a include addFieldPar method with CompactHeader struct 2017-03-06 12:09:46 +11:00
Bradley Cicenas 1dd5e53b37 use GridBufferer as rows in CompactGrid 2017-03-06 11:46:00 +11:00
Bradley Cicenas 3bb48e91ae move logEvent into debug, condense output 2017-03-06 11:23:44 +11:00
Bradley Cicenas 52a3e61b92 restructure compact widgets 2017-03-06 11:15:32 +11:00
Bradley Cicenas 3172f141f9 refactor dockersource container refresh into channel 2017-03-05 17:46:41 +11:00
Bradley Cicenas 8fb5c5de59 move highlight method into textcol widget 2017-03-03 19:02:08 +11:00
Bradley Cicenas 56be64367b refactor widgets, add wrapper structs 2017-03-03 18:57:26 +11:00
Bradley Cicenas 9f5cd42b73 remove expanded widgets for now 2017-03-01 16:10:28 +11:00
Bradley Cicenas 6a4b145b1b add dumpContainer debug method, keybinding 2017-03-01 12:10:33 +11:00
Bradley Cicenas 094be99764 add color for created status containers, update default sortfield 2017-03-01 12:09:05 +11:00
Bradley Cicenas 1c74377cbd refactor data hist structs, add Val field 2017-03-01 12:03:19 +11:00
Bradley Cicenas 423ad8e753 add stateMap for consistent state sorting 2017-03-01 11:03:57 +11:00
Bradley Cicenas 2c198ae2a0 initialize metrics with negative value prior to collector start 2017-03-01 10:23:24 +11:00
Bradley Cicenas 69128f1947 add mock container source, rename docker source 2017-02-28 09:35:33 +11:00
Bradley Cicenas 2329f93e5f fix reset method for compact widgets 2017-02-28 09:29:35 +11:00
Bradley Cicenas bb682677f5 update mock collector to match interface 2017-02-28 09:28:52 +11:00
Bradley Cicenas 6cc357bb97 remove Render method from containerWidgets interface 2017-02-27 09:55:45 +11:00
Bradley Cicenas 70f2648952 refactor all container widgets into subpackage 2017-02-27 09:04:24 +11:00
Bradley Cicenas 4aaf26b63d add common column width calculation method, global column spacing 2017-02-27 08:23:56 +11:00
Bradley Cicenas 05b50af87b add ContainerSource interface, fix secondary sort method 2017-02-27 08:12:28 +11:00
Bradley Cicenas 4709624b17 move field header into CompactGrid, add Align() method 2017-02-26 18:31:23 +11:00
Bradley Cicenas b84e22fb90 refactor compact widgets into recursive gridbufferer 2017-02-26 17:22:50 +11:00
Bradley Cicenas 381f1da602 move maxrows method out of grid 2017-02-25 18:16:00 +11:00
Bradley Cicenas c3bb7c6b96 further containermap refactoring 2017-02-24 20:10:14 +11:00
Bradley Cicenas cb9f38adb3 refactor container refresh with docker event handler 2017-02-24 12:18:59 +11:00
Bradley Cicenas cf5eff40bb refactor containers as array 2017-02-24 09:00:05 +11:00
Bradley Cicenas 7edde13a4d further collector refactoring, add logging to metrics subpackage 2017-02-23 13:24:26 +11:00
Bradley Cicenas 70f86c4812 rename collector subpackage 2017-02-23 13:03:55 +11:00
Bradley Cicenas d06f07044f start moving collector init into containermap 2017-02-23 13:01:56 +11:00
Bradley Cicenas b529d41091 add secondary sort by name 2017-02-23 12:32:35 +11:00