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

Allow access to stdout/stderr of Prometheus/PushGateway/etc #119

Open
hatchan opened this issue Aug 9, 2023 · 0 comments
Open

Allow access to stdout/stderr of Prometheus/PushGateway/etc #119

hatchan opened this issue Aug 9, 2023 · 0 comments

Comments

@hatchan
Copy link
Contributor

hatchan commented Aug 9, 2023

In #54 we disabled the output of Prometheus and Pushgateway. If Prometheus/pushgateway doesn't start correctly then we only show that it didn't work correctly. But we should also allow access to the logs.

Issue #6 describes a few ways:

We should store this data into a buffer (maybe only collecting the last x bytes) and then expose this to the user.

The main way of retrieving this information would be through the am's api. The explorer can display this information. We can even create a live view of these logs through web-sockets or server side events.

Another way of using this data would be if an error occurred, that am would dump these logs into a file. These can then be used by the user when creating a bug report.

Finally a cli argument can be added that will make the Prometheus stdout/stderr go to into am's stdout/stderr.

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

1 participant