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

Unknown long flag '--request.logging-config-file' #3981

Closed
itatabitovski opened this issue Mar 26, 2021 · 2 comments
Closed

Unknown long flag '--request.logging-config-file' #3981

itatabitovski opened this issue Mar 26, 2021 · 2 comments

Comments

@itatabitovski
Copy link

Thanos, Prometheus and Golang version used:

  1. thanos-0.19.0-rc.2.darwin-amd64
❯ ./thanos-0.19.0-rc.2.darwin-amd64/thanos --version
thanos, version 0.19.0-rc.2 (branch: HEAD, revision: 5620c0955104526dd9cfc7aa4481bfda9030e66c)
  build user:       root@40797d282866
  build date:       20210324-19:00:08
  go version:       go1.15.10
  platform:         darwin/amd64

Object Storage Provider:
n/a

What happened:

❯ ./thanos-0.19.0-rc.2.darwin-amd64/thanos query-frontend --http-address="0.0.0.0:10922" --query-frontend.downstream-url=http://localhost:10912 --request.logging-config-file=./logging.yml
error parsing commandline arguments: [./thanos-0.19.0-rc.2.darwin-amd64/thanos query-frontend --http-address=0.0.0.0:10922 --query-frontend.downstream-url=http://localhost:10912 --request.logging-config-file=./logging.yml]: unknown long flag '--request.logging-config-file'
thanos: error: unknown long flag '--request.logging-config-file'

I tried to use flag --request.logging-config-file= documented here but got error unknown long flag '--request.logging-config-file'

What you expected to happen:
I expected thanos to start and use the request.logging-config from the file.

How to reproduce it (as minimally and precisely as possible):
Run:

❯ ./thanos-0.19.0-rc.2.darwin-amd64/thanos query-frontend --http-address="0.0.0.0:10922" --query-frontend.downstream-url=http://localhost:10912 --request.logging-config-file=./logging.yml

Full logs to relevant components:

Anything else we need to know:

@wiardvanrij
Copy link
Member

wiardvanrij commented Mar 26, 2021

This feature is indeed in the main branch but was not in the cut for the release candidate because that was created at roughly the same time. rc.0 is from 24days ago. The PR for this feature: #3862 was merged 22 days ago. I do understand your point though!

I would recommend using the docs that are inherent to the version you are using. You can use the docs from this tree: https://github.com/thanos-io/thanos/tree/v0.19.0-rc.2 which should 100% reflect the release.

Also thanks for testing 👍

@GiedriusS
Copy link
Member

Closing this as it's a non-issue. Let us know if you still have any problems

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

No branches or pull requests

3 participants