-
Notifications
You must be signed in to change notification settings - Fork 42
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
Show backend logs in Backstage UI #106
Comments
Hi @pgpbpadilla Thanks for reaching out. You are correct, we rarely use the ECS cluster/service/task logs for debugging development work, Instead we configure our machines for local development - you can run backstage locally with a local postgres db(docker) and still use your deployed git.yourdomain.com. please check this documentation for running harmonix and backstage locally - https://harmonixonaws.io/docs/techdocs/customizations#running-locally Regarding the creation of your template - if you duplicate the directory of a template - make sure the names are different and don't forget to register the new template in your git opa-admin repository: you can use the below make command to update your local changes with the remote git. |
Hello, do you think it's possible to embed the logs from all of the deployed components and present them through the backstage UI in a standard way? Ideally this should work no matter where the components are deployed. I can imagine that there could be adapters for different deployment environments, for example EC2, ECS, EKS, etc. Unfortunately I don't have any examples of this type of standard interfacae but it seems to be like it would be a really good feature to have for troubleshooting live deployments. |
By the way, I would still classify this as a feature request and not as a question. Feel free to close it if this is not something that you have in your roadmap. |
Hi @pgpbpadilla apologies for the delay. Consider that the applications logs will likely to be the most interesting for the application developer(Affected by the app code changes /src), The deployment logs or mostly relevant when building new patterns or templates or for maintenance and diagnostic. We have a customer who integrated Kubernetes cluster plugin on the provider page - thus giving platform engineering an overview of the entire cluster operations. We also received a similar requirement for ECS cluster overview (not yet available). I'll keep this open for visibility and for updates if anything changes. thanks! |
Community Note
What is the outcome that you are trying to reach?
I am working on my custom template for a new component. The registration fails and I cannot quickly figure out what the error is, I want to look at the logs generated while trying to process my catalog file, but to look at the server logs I need to go into cloud watch and look at the ECS task logs, which is quite a bit of work.
Describe the solution you would like
I want to be able to see the logs for all Harmonix components in the backstage UI. I know there are some plug-ins that can be used to do this so it would be just a matter of enabling them by default.
New to backstage and to harmonics, so I leave it up to you to choose the better plug-ins to achieve the desire to result, namely, to allow debugging issues for any actions without having to leave the backstage UI.
Describe alternatives you have considered
Additional context
The text was updated successfully, but these errors were encountered: