Repository navigation
[docs] Getting Started: document config path, all web endpoints, sys-metrics opt-out - #1434
Merged
Merged
Conversation
…metrics opt-out
Three things the page relied on but never stated:
- `/etc/cloudprober.cfg` is the default config path, and an empty config is
the fallback when it's absent. This is what makes the bare `cloudprober`
in "Your First Run" produce only system metrics, and it's why the Docker
command mounts the config where it does -- both were unexplained.
- The endpoint table listed 4 of the 8 endpoints cloudprober serves. Added
/config-parsed, /config-running, /logs and /links, distinguished /config
(as provided) from /config-parsed (after template and env expansion), and
noted that /artifacts appears when a probe produces artifacts.
- `--disable_sys_metrics`, and the fact that configuring your own SYSTEM
probe suppresses the automatic one. The auto-added probe is the first
thing the page shows, with no way offered to turn it off.
Endpoints verified against a running instance.
manugarg
force-pushed
the
docs-getting-started-additions
branch
from
August 29, 2026 05:28
3736828 to
585e576
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.
Stacked on #1433 (same file, so basing this on
mainwould conflict). GitHub will retarget it tomainonce that merges.Three things the page depended on but never told you.
The default config path
/etc/cloudprober.cfgis what cloudprober reads when you don't pass--config_file(config/configsource.go:28), falling back to an empty config if that file is missing too. That fact was doing a lot of invisible work on this page: it's why the barecloudproberin "Your First Run" produces nothing but system metrics, and it's why the Docker command mounts the config at that particular path. Now stated once, where both of those land.Half the web endpoints were missing
The table listed 4 of the 8 endpoints actually served. Added
/config-parsed,/config-running,/logs, and/links, and drew the distinction between/config(exactly what you provided) and/config-parsed(after templates and env vars are expanded) — which is the one you want when debugging a templated config. Also noted that/artifactsappears when a probe produces artifacts, e.g. browser probe screenshots; it's registered conditionally, so it 404s otherwise.Verified by hitting each endpoint on a running instance:
No way to turn off the system probe
The auto-added
sys_metricsprobe is the first output the page shows, and--disable_sys_metricsappeared nowhere. Also documented that configuring your ownSYSTEMprobe suppresses the automatic one (cloudprober.go:218-226).