Skip to content

Conversation

@stefreak
Copy link

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

The THANOS_QUERY_URL constant is already assigned to {{ .queryURL }} in public/index.html. Remove this comparison, as it causes the --alert.query-url command line option to have no effect whatsoever.

Fixes #6370

Verification

  • TODO: verification

The `THANOS_QUERY_URL` constant is already assigned to `{{ .queryURL }}` in `public/index.html`.
Remove this comparison, as it causes the `--alert.query-url` command line option to have no effect whatsoever.

Fixes thanos-io#6370

Signed-off-by: Steffen Neubauer <[email protected]>
@stefreak stefreak changed the title ui: only set query url to localhost if config option is falsy queryFrontend: only set query url to localhost if config option is falsy Jul 12, 2023
@stefreak stefreak marked this pull request as draft July 12, 2023 10:43
@GiedriusS
Copy link
Member

Maybe you could add a test for this using e2e? I can't reproduce this :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Query Frontend] support flag --web.external-url

2 participants