Skip to content

Rocklet support worker-level docker root dir & log dir usage OTLP metrics reporting#742

Open
zhangjaycee wants to merge 3 commits intoalibaba:masterfrom
zhangjaycee:feature/worker-metrics
Open

Rocklet support worker-level docker root dir & log dir usage OTLP metrics reporting#742
zhangjaycee wants to merge 3 commits intoalibaba:masterfrom
zhangjaycee:feature/worker-metrics

Conversation

@zhangjaycee
Copy link
Copy Markdown
Collaborator

close #741

@zhangjaycee zhangjaycee changed the title Rocklet support worker-level docker & root dir usage OTLP metrics reporting Rocklet support worker-level docker root dir & log dir usage OTLP metrics reporting Apr 7, 2026
@zhangjaycee zhangjaycee force-pushed the feature/worker-metrics branch from f13e756 to f2602c6 Compare April 8, 2026 02:49
…env var

Add WORKER_DISK_DOCKER_DIR_PERCENT and WORKER_DISK_LOG_DIR_PERCENT
constants for per-worker disk usage monitoring. Add ROCK_DOCKER_ROOT
environment variable to configure the docker data-root directory path.
…ring

Add WorkerMonitorService to rocklet that collects docker-root and log-dir
disk usage via psutil and pushes metrics to OTLP endpoint (resolved from
/etc/hostinfo). Includes unit tests for all gauge reporting paths.
…rtup

Add --enable-monitor flag to rocklet CLI. When enabled, start
WorkerMonitorService during FastAPI lifespan and stop on shutdown.
@zhangjaycee zhangjaycee force-pushed the feature/worker-metrics branch from f2602c6 to c93ef94 Compare April 8, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Worker disk usage OTLP metrics (rocklet)

1 participant