Rocklet support worker-level docker root dir & log dir usage OTLP metrics reporting#742
Open
zhangjaycee wants to merge 3 commits intoalibaba:masterfrom
Open
Rocklet support worker-level docker root dir & log dir usage OTLP metrics reporting#742zhangjaycee wants to merge 3 commits intoalibaba:masterfrom
zhangjaycee wants to merge 3 commits intoalibaba:masterfrom
Conversation
f13e756 to
f2602c6
Compare
…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.
f2602c6 to
c93ef94
Compare
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.
close #741