Skip to content

Latest commit

 

History

History
100 lines (83 loc) · 2.84 KB

File metadata and controls

100 lines (83 loc) · 2.84 KB
sidebar_position 8
title Roadmap

Roadmap

Development status and future plans for Aperture.

Completed

CPU Profiling

  • eBPF perf_event software CPU clock sampling
  • Configurable sampling frequency (default 99 Hz)
  • PID filtering via perf_event_open scope
  • Stack trace collection (user + kernel)
  • Symbol resolution with blazesym
  • Flamegraph SVG output
  • JSON output

Lock & Syscall Profiling

  • Lock contention: futex tracing via sys_enter_futex / sys_exit_futex
  • Syscall tracing: all syscalls via sys_enter / sys_exit raw tracepoints
  • Namespace-aware PID filtering (bpf_get_ns_current_pid_tgid)
  • Lock flamegraph (weighted by wait_ns)
  • Syscall latency histograms
  • --mode cpu|lock|syscall|all with concurrent execution

Distributed Aggregator

  • gRPC service (Push, Query, Aggregate, Diff RPCs)
  • In-memory ring buffer
  • ClickHouse persistent storage
  • HTTP REST API
  • CLI client (query, aggregate, diff commands)
  • Authentication (Bearer token)

WASM Filters

  • wasmtime-based filter runtime
  • EventContext ABI (flat C struct)
  • Fuel-limited execution (~1M instructions per call)
  • Host function: env.log
  • filter_event() and filter_batch() APIs

Web Dashboard

  • React + Vite + Tailwind + shadcn/ui
  • Interactive flamegraph viewer
  • Top functions table
  • Syscall analysis page
  • Differential profiling (comparison view)
  • Timeline view
  • Settings page

Alerts & Monitoring

  • In-memory alert engine (rules, evaluation, history)
  • 6 alert metrics (buffer, errors, throughput)
  • REST API for rule CRUD + evaluation
  • Alert management UI page
  • Prometheus metrics endpoint

Export & Deployment

  • JSON export endpoint
  • Collapsed-stack format export
  • Dockerfiles (agent + aggregator)
  • CI/CD workflows (GitHub Actions)
  • Install script (curl | sh)
  • Kubernetes manifests (DaemonSet + Deployment)

UI Polish

  • Unresolved frame detection and grey styling
  • Enhanced tooltips (module, depth, percentages)
  • Symbol resolution diagnostics in agent
  • Module info encoding in symbol strings
  • Real batch data in timeline chart

In Progress

GPU Profiling

  • CUPTI integration for CUDA kernel tracking
  • Memory transfer profiling
  • GPU utilization metrics
  • GPU-CPU correlation timeline
  • ROCm support

Planned

Continuous Profiling

  • Always-on mode with adaptive sampling
  • Storage retention policies
  • Historical trend analysis

Advanced Aggregation

  • Multi-aggregator clustering
  • Cross-agent correlation
  • Automatic anomaly detection

Ecosystem Integration

  • OpenTelemetry trace correlation
  • Grafana datasource plugin
  • pprof format import/export
  • Jaeger span linking