feat: Argus v0.4 - Flame Graph, CLI Monitor, OTLP Export#23
Merged
Conversation
- Flame graph: d3-flamegraph visualization with 60s auto-reset window, pause/resume, server-side reset via /flame-graph?reset=true - CLI (argus top): htop-style terminal monitor in new argus-cli module, zero external dependencies, parallel HTTP polling - OTLP: push-based metrics export to OpenTelemetry collectors, hand-coded JSON (no SDK), configurable via -Dargus.otlp.* properties - install.sh: one-line installer with PATH setup for zsh/bash/fish - Fix CDN URL (d3-flamegraph -> d3-flame-graph package name) - Fix demo duration passthrough in Gradle tasks (default 5min) - Update README with new features, installation, and configuration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Argus v0.4 pivots from VT-focused profiler to a lightweight, zero-dependency JVM monitoring tool (JDK 24+ eliminates VT pinning via JEP 491).
New Features
ExecutionSampledata with 60s auto-reset window, pause/resume, and server-side resetargus top): htop-style terminal UI in newargus-climodule — CPU, heap, GC, virtual threads, hot methods, contention. Zero external dependencies-Dargus.otlp.*system propertiescurl | bashinstaller witharguscommand PATH setupBug Fixes
d3-flame-graph, notd3-flamegraph)Files Changed
argus-cli/(5 Java files + build.gradle.kts)FlameGraphAnalyzer,OtlpJsonBuilder,OtlpMetricsExporterinstall.shAgentConfig(OTLP config),ArgusServer,ArgusChannelHandler,EventBroadcasterindex.html(CDN fix + flame graph UI),app.js(pause/resume/reset),style.cssREADME.md(full rewrite: features, install, quick start, config)Configuration (New)
Test plan
./gradlew buildpasses (33 tasks, all green)-Dargus.profiling.enabled=true)/flame-graphendpoint returns d3-compatible JSON/flame-graph?format=collapsedreturns collapsed stack format/flame-graph?reset=trueclears server datainstall.shcreates wrapper scripts and configures PATH🤖 Generated with Claude Code