Repository navigation
Conversation
Signed-off-by: NginxL <8777777+NginxL@users.noreply.github.com>
|
|
@NginxL is attempting to deploy a commit to the HyperDX Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been 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.
Summary
Adds ClickHouse authentication headers to the PromQL
prometheusremotewriteexporter in both configuration paths:The exporter now sends
X-ClickHouse-UserandX-ClickHouse-KeyfromCLICKHOUSE_USER/CLICKHOUSE_PASSWORD, matching the credentials already used by the ClickHouse exporters. This allows remote write to work when the ClickHousedefaultuser has a password instead of repeatedly failing with authentication error 194.The OpAMP controller test now asserts both headers. No UI code is changed.
Screenshots or video
N/A — non-UI configuration change.
How to reproduce
Starting point: A Helm/standalone ClickStack deployment with PromQL enabled and a password configured for the ClickHouse user, as described in #3906.
On
main:metrics_ts/ PromQL source.On this branch:
CLICKHOUSE_USERandCLICKHOUSE_PASSWORDenvironment variables used by the ClickHouse exporter.A live ClickHouse/collector deployment was not available in this environment, so these runtime steps remain for CI or reviewer validation.
How to test on Vercel preview
Preview routes: N/A — non-UI change.
Steps: N/A.
References
clickhouseandclickhouse/rrwebexporters already use the same environment variables.Validation and gaps
config.standalone.promql.yamlwith Ruby Psych and verified both header values.git diff --checkpassed for all three files.AI disclosure: This patch and PR description were prepared with AI assistance and checked against the linked reproduction and current exporter configuration. The commit includes a DCO
Signed-off-bytrailer.