-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add stdout or file out with the latest telemetry metrics #12449
Comments
Is there a reason you can't just hit the endpoint? |
If API server is not active then you can't do it. Workaround would be to enable api server and not export the ports in the firewall |
Yes, I see that as a perfectly fine solution. As long as this file approach isn't too much technical overhead, then it's fine IMO |
It's not an overhead. It's just dumping data to a file. That's fast and happens in parallel in a go routine. Moreover by default it will be disabled. |
i dont fully see the need for this, what is the overhead that turning on the server is causing? |
closing this as we should opt to use the default instead of implement custom items. This is inline with reducing maintenance burden of the current repo |
Summary
Follow up to: #12447
Today, we can inspect telemetry only through Prometheus or REST API server.
Problem Definition
For debugging, or internal purposes it would be helpful to be able to:
Proposal
Add additional metric display methods.
Extend app config (app.toml):
The
stdout
mode will mix the metrics output in the log output (using INFO) with non-pretty printed JSON formatted text.The
fileOutput
will save metrics to file with pretty printed JSON format.For Admin Use
The text was updated successfully, but these errors were encountered: