-
Notifications
You must be signed in to change notification settings - Fork 1.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
metrics-apiserver json logs #4049
Comments
keda-operator-metrics-apiserver
deployment. It seems that only has a level setting as opposed to the operator having level, format, and timeEncoding.
Hi, |
Hi Jorge, 2.9.1 |
I have reviewed and you are right, all the logs are sent to stderr :( You can disable this behaviour removing the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Hi there, this is still an issue in 2.10.1. metrics server has a different logging settings than the other two binaries, as visible in the docs of helm: https://github.com/kedacore/charts/blob/main/keda/README.md. This doesn't allow users to enable json logs or set a logging level using words (like Are there any plans to change this? It's hard to tell from the issue history. |
AFAIK, there isn't work in progress in this direction, but if you have an idea and you are willing to contribute, you can do it :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Hi @JorTurFer , is there any plan to add this( |
There isn't any wip about this, so the stage is yours 😄 |
json logging would be great! BTW Why is this issue closed? |
Would love JSON logs so that they can be properly parsed in places like Google Cloud Logs Explorer. |
same need |
That said, I'd like to have the metrics-apiserver log in json format as well, primarily because all info logs are emitted to stderr and those show up as error logs in our logging system. Could this functionality please be added?
Originally posted by @naseemkullah in #3655 (comment)
The text was updated successfully, but these errors were encountered: