Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query: pass queryURL along to the UI #4847

Merged
merged 2 commits into from
Nov 13, 2021

Conversation

GiedriusS
Copy link
Member

@GiedriusS GiedriusS commented Nov 10, 2021

Changes

Pass queryURL to the UI to have proper URLs in the React UI. Without
this, all URLs are set to http://localhost:10902 i.e. the default
value set in config.ts.

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

Verification

Started Thanos via the quickstart script and checked that http://localhost:10904/rules, for example, has proper, clickable URLs.

@GiedriusS GiedriusS force-pushed the pass_queryURL_thanos branch 2 times, most recently from cd5534c to d76e7b8 Compare November 10, 2021 13:34
Pass `queryURL` to the UI to have proper URLs in the React UI. Without
this, all URLs are set to `http://localhost:10902` i.e. the default
value set in `config.ts`.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
@GiedriusS
Copy link
Member Author

@squat this is needed for the next version to avoid broken links in targets/rules pages because the link is http://localhost:10902 everywhere because queryURL is not set ;P

squat
squat previously approved these changes Nov 12, 2021
@squat
Copy link
Member

squat commented Nov 12, 2021

@GiedriusS can you rebase and we can merge?

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
@GiedriusS
Copy link
Member Author

@GiedriusS can you rebase and we can merge?

Done 👍

Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yeya24 yeya24 merged commit d72bff0 into thanos-io:main Nov 13, 2021
@yeya24
Copy link
Contributor

yeya24 commented Nov 13, 2021

Not sure why but after merging this, the changelog for #4848 is missing.

GiedriusS added a commit to GiedriusS/thanos that referenced this pull request Nov 16, 2021
Pass `queryURL` to the UI to have proper URLs in the React UI. Without
this, all URLs are set to `http://localhost:10902` i.e. the default
value set in `config.ts`.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants