feat(observability): collect process system metrics - #24
Draft
WenYuLuo wants to merge 1 commit into
Draft
Conversation
WenYuLuo
force-pushed
the
feat/otel-process-metrics
branch
2 times, most recently
from
August 13, 2026 03:25
ee08a9c to
7ad2f77
Compare
Add a hostmetrics process pipeline for long-lived AKernel and YuanRong components. Export CPU, memory, file descriptor, thread, and uptime metrics with pod, node, role, and normalized component labels. Classify goruntime processes as frontend or scheduler by runtime ID. Delete command-line attributes before remote write so arguments are not exported. Provision a Grafana dashboard for process CPU, memory, file descriptors, threads, and uptime with node, pod, role, and component filters. Signed-off-by: robbluo <luo1442@gmail.com>
WenYuLuo
force-pushed
the
feat/otel-process-metrics
branch
from
August 13, 2026 03:52
7ad2f77 to
8a8e323
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.
What changed
hostmetrics/processpipeline for long-lived AKernel and YuanRong processescomponent_name="ds_worker"goruntimeasfrontendorschedulerfrom its stable runtime ID, then removeprocess.command_linebefore exportAKernel Process ResourcesGrafana dashboard with environment, node, Pod, role, and component filtersDashboard
The dashboard provides six panels:
Why
The collector previously accepted metrics pushed by applications but did not report operating-system resource usage for individual platform components. This left CPU, memory, file descriptor, thread, and uptime visibility unavailable at the component and node level.
The process allowlist intentionally excludes per-sandbox
runscprocesses to avoid unbounded time-series cardinality.Validation
otel/opentelemetry-collector-contrib:0.120.0frontend,scheduler, andds_worker, with no command-line label exportedpromtoolmake SHELL=/bin/bash deploy-script-checkgit diff --check