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

Thanos Query Config Bearer for Oauth API not working #5263

Open
Sakthivel-Eka opened this issue Apr 1, 2022 · 2 comments
Open

Thanos Query Config Bearer for Oauth API not working #5263

Sakthivel-Eka opened this issue Apr 1, 2022 · 2 comments

Comments

@Sakthivel-Eka
Copy link

Hi,
I'm using Thanos Ruler and trying to add a an API based query url to its configuration.
Referring from the Thanos Official docs of building Thanos Ruler (https://thanos.io/tip/components/rule.md/#query-api), we configured the oauth based token access via a Configmap in the below format.

- http_config:
    bearer_token: "<oauth-token>"
  static_configs: ["<query API>"]
  scheme: https

As per our requirement, we were able to fetch the Bearer Token and add to this configmap after every scheduled interval.
Thanos Ruler tries to reach the querier but always returned with response:
"no query API server reachable".

Can anyone pls explain me where I'm doing it wrong. Also it would be great, if you can provide some sample configurations to refer to.

@wiardvanrij
Copy link
Member

Please use and fill in the issue template with all relevant data.

@stale
Copy link

stale bot commented Sep 21, 2022

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants