-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Documentation on Logging? #3623
Comments
Hi, Thanos doesn't have any log file and all logs are written to stdout. |
Actually there is no explicit mounting of ephemeral storage to the pod. I only mounted a pvc and a volume for secret to the pod. Will Thanos receiver stores local cache data? |
Receiver is just a TSDB and it only uses the data dir IMO. You have a pvc so it is fine. |
But the receiver got evicted for quite several times due to lack of ephemeral storage when Prometheus instances were trying to write old TSDB data to receiver. I was using 0.17.1 by the way. |
Sounds fair to me. We should definitely document more. cc @yashrsharma44 |
Let's have a common place to put logging documentation and reference to this section from each command. |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Closing for now as promised, let us know if you need this to be reopened! 🤗 |
I was thinking of writing a docs section for the query logging and logging in general, should I go ahead with the above structuring for the docs for logging? |
I believe something more needs to be written up, not only for logging, but for all options.I am new to Thanos, and I would love to know what it is capable of. (I am to type to really dig in deep to a product) Example 1: logFormat. What options are available? The default logfmt tells me nothing. PLEASE provide a place to detailed documentation for all parameters! |
Is your proposal related to a problem?
I use Thanos receive in my cluster with 6 Prometheus instances writing to it. The Thanos receive pod has an ephemeral storage limit of 700MB, a PVC storage of 50GB, and was started in debug log level.
When I stop the receiver, wait several hours, then start it again, its console is flooded with out of order sample debug log with full request body, then soon it is evicted due to lack of ephemeral storage, and be flooded with out of order sample again. I suspect the ephemeral storage was used up by logging file, but failed to found one. To workaround this issue, I turned off debug logging, then start receive again, then the issue is gone.
Several questions in mind:
Describe the solution you'd like
Some explanation on logging in Thanos?
The text was updated successfully, but these errors were encountered: