Commit Graph

73 Commits

Author SHA1 Message Date
56301d61fd fixes for non linux compilation issues. 2025-08-27 16:11:17 -07:00
55e5c708fe MACOS / NON LINUX metrics optimizations. 2025-08-27 16:00:29 -07:00
2d17cf1598 additional optimizations for macos 2025-08-27 15:05:38 -07:00
353c08c35e increment version and macos performance 2025-08-26 12:14:32 -07:00
f13ea45360 increment version 2025-08-26 10:57:01 -07:00
8ce00a5dad non linux optimizations for macbook 2025-08-26 10:14:14 -07:00
f37b8d9ff4 chore(agent): fix clippy unused mut on non-linux process list 2025-08-26 00:22:29 -07:00
322981ada7 cargo fmt and version bump 2025-08-26 00:20:52 -07:00
3394beab67 chore: make pre-commit resilient when cargo absent 2025-08-26 00:18:10 -07:00
c9ebea92f5 perf(agent,non-linux): enable CPU core normalization by default; tighter scaling threshold 2025-08-25 23:50:26 -07:00
e2dc5e8ac9 perf(agent,non-linux): add per-process CPU scaling heuristic to reduce overreporting 2025-08-25 23:47:31 -07:00
beddba0072 perf(agent,non-linux): reduce process collection overhead; configurable CPU sample delay 2025-08-25 23:44:28 -07:00
cacc4cba9f cargo fmt 2025-08-25 23:24:50 -07:00
66270c16b7 perf(agent): windows/mac cpu collection tweak; add optional normalization; silence linux dead_code 2025-08-25 22:59:07 -07:00
f62b5274d2 optimize non linux metrics collection 2025-08-25 22:35:01 -07:00
b6e656738b chore(release): bump to 1.40.0
Some checks failed
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
2025-08-24 18:56:40 -07:00
f83cb07d57 Release candidate 1.4
increment version, support version flag on socktop
2025-08-24 18:03:45 -07:00
7697c7dc2b docs: add per-crate README.md and link via Cargo.toml readme field 2025-08-24 17:56:22 -07:00
ce59dd9dfe chore(agent): fix clippy needless_return for non-linux process collection
Some checks failed
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
2025-08-24 12:52:56 -07:00
8d48fa4c3b increment version 2025-08-24 12:47:49 -07:00
51e702368e cargo fmt 2025-08-24 12:40:35 -07:00
85f9a44e46 perf(agent): add hostname + TTL caches (metrics/disks/processes) and reuse sys for processes 2025-08-24 12:38:32 -07:00
b2468a5936 refactor(agent): remove unused background sampler infrastructure (request-driven only) 2025-08-24 12:29:23 -07:00
8de5943f34 test(agent): move inline port parsing test to tests/port_parse.rs 2025-08-24 12:15:32 -07:00
8bd1af7a27 chore: remove unused deps (thiserror, chrono, futures, nvml-wrapper, tungstenite, bytes, prost-types) 2025-08-24 12:08:52 -07:00
471d547b5d cargo fmt and increment version 2025-08-23 02:18:09 -07:00
47910725a8 increment version 2025-08-22 22:48:41 -07:00
d0455611d5 cargo fmt 2025-08-22 14:09:02 -07:00
4c45b85c98 fix san and increment version 2025-08-22 14:07:41 -07:00
dc9aa4c026 agent: support extra SANs via SOCKTOP_AGENT_EXTRA_SANS env var 2025-08-22 13:47:51 -07:00
25229d6b03 cargo fmt 2025-08-22 12:49:12 -07:00
290e2a8fb2 fix for expired certificate 2025-08-22 12:46:01 -07:00
30d263c71e agent: dynamic self-signed cert validity (~397d from now) to avoid immediate expiry 2025-08-22 12:43:48 -07:00
9b177f3206 cargo fmt 2025-08-22 11:55:41 -07:00
8a6ae3fcd7 increment version 2025-08-22 11:53:27 -07:00
5b8ec7efc1 agent: add --version / -V flag 2025-08-22 11:52:51 -07:00
faf2861b29 cargo fmt 2025-08-22 10:53:47 -07:00
59432ab1d3 agent: fix rcgen usage for self-signed cert generation 2025-08-22 10:48:01 -07:00
d1c8a64418 agent: replace openssl self-signed cert generation with rcgen (pure Rust) 2025-08-22 10:46:29 -07:00
8def4b2d06 Publish: include proto in each crate and fix build.rs paths 2025-08-22 10:44:56 -07:00
a42ca71a9f update version prior to cargo publish 2025-08-22 10:41:17 -07:00
3ac03c07ba enable GPU polling only when GPU is present 2025-08-22 09:27:05 -07:00
923a3872fe add logging to help debug windows problems 2025-08-20 15:47:28 -07:00
b80d322650 cargo fmt 2025-08-20 11:29:22 -07:00
fff386f9d5 fixing windows build problems. i hate windows !
Agent:
Added GET /healthz that returns 200 immediately.
File: main.rs (router now includes /healthz).
CI workflow:
Start agent from target/release on both OSes.
Set SOCKTOP_ENABLE_SSL=0 explicitly.
Ubuntu: wait on curl http://127.0.0.1:3000/healthz (60s), log tail and ss/netstat on failure.
Windows: wait on Invoke-WebRequest to /healthz (60s), capture stdout/stderr, print netstat on failure.
File: .github/workflows/ci.yml.
2025-08-20 11:26:09 -07:00
97255b42fb fix windows build 2025-08-20 00:14:21 -07:00
554a2c349f protobuff Process list
BREAKING: Process list over WS is now Protocol Buffers; client required.
Agent: returns all processes (no server-side top-k); large payloads gzip-compressed.
Client: decodes protobuf (gz/raw), moves sorting/pagination to TUI.
Build: add prost/prost-build with vendored protoc; enable thin LTO, panic=abort, strip symbols.
Cleanup: cfg-gate Linux-only code; fix Clippy across platforms; tests updated (ws probe TLS CA).
2025-08-19 23:24:36 -07:00
6b58ac67f6
Merge branch 'master' into feature/wss-selfsigned 2025-08-19 15:31:10 -07:00
3ad1d52fe2 fix windows build.
Some checks failed
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Gate Linux-specific imports and fields to avoid Windows dead-code/unused warnings.
Ensure Linux-only proc CPU tracker is not referenced on non-Linux builds.
2025-08-16 17:42:18 -07:00
2e8cc24e81 remove dead code and increment version 2025-08-16 17:31:32 -07:00