Repository navigation
Conversation
Describe PMM_VM_URL with and without credentials, the precedence of VMAGENT_remoteWrite_basicAuth_* over URL credentials, and the global VMAGENT_remoteWrite_url override. In the HA guide, explain how client metrics reach VictoriaMetrics through HAProxy, the renamed secret keys, the chart-first upgrade order, and drop the PMM-14705 known issue. Targets doc-3.10.0 because user docs are released ahead of the code. The code change is #5887. Signed-off-by: Ante Gulin <ante.gulin@percona.com>
An empty VMAGENT_* variable is ignored with a startup warning, any injected credential replaces PMM's default one entirely (so both halves of a basic-auth pair must be set), PMM_VM_URL must carry an http or https scheme, and the pmm-ha chart refuses to render while the Technical Preview secret keys remain. vmagent accepts INFO, WARN, ERROR, FATAL and PANIC as log levels and exits on DEBUG, which the table and the debugging example suggested. Signed-off-by: Ante Gulin <ante.gulin@percona.com>
This branch was successfully deployed
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.
Documents the vmagent remote-write routing rework (PMM-14678): how PMM Clients deliver metrics in PMM High Availability, and what the
PMM_VM_URLandVMAGENT_remoteWrite_*settings now mean.Changes
reference/third-party/victoria.md:PMM_VM_URLwith and without credentials, precedence ofVMAGENT_remoteWrite_basicAuth_*over URL credentials, credentials reachingvmagentthrough its environment only, theVMAGENT_remoteWrite_urloverride (PMM sends none of its own credentials to an endpoint it did not choose), thehttp:///https://scheme requirement, and that an injected credential replaces the URL's entirely, so both halves of a basic-auth pair must be set.install-pmm/.../docker/env_var.md: corrected the vmagent variables table (VMAGENT_remoteWrite_url, basic-auth defaults,tlsInsecureSkipVerifydefault) added a caution on redirecting remote write, listed the log levelsvmagentaccepts (DEBUGis not one of them), and documented that any injected credential replaces PMM's default one and that an emptyVMAGENT_*variable is ignored with a startup warning.install-pmm/install-HA-clustered.md: new How client metrics reach VictoriaMetrics section (writes go to the PMM Server address through HAProxy tovmauth, never through the PMM Server pods), the renamedpmm-secretkeysPMM_HA_VM_USERNAME/PMM_HA_VM_PASSWORDwith a rename note for Technical Preview installs (the chart refuses to render while the old keys remain), the chart-first upgrade order.Related