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

Stack Monitoring Tech Debt Plan #127224

Closed
30 of 39 tasks
jasonrhodes opened this issue Mar 8, 2022 · 7 comments
Closed
30 of 39 tasks

Stack Monitoring Tech Debt Plan #127224

jasonrhodes opened this issue Mar 8, 2022 · 7 comments
Labels
epic Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@jasonrhodes
Copy link
Member

jasonrhodes commented Mar 8, 2022

Over the past year, the Stack Monitoring app has endured a number of massive changes, from a completely new team that owns it and works on, the complete removal of Angular, and a massive set of 8.0 backwards-compatible architecture and data collection changes. Because of this, we've decided to spend some focused time on stabilizing the Stack Monitoring app in the near future. To that end, we've prioritized the following work.

Bugs

More recent bugs, could defer to later epic

Tech Debt

Typescript

We've made good progress on TS conversion over the past year, but there's still a good chunk to do. Mainly:

  • Server has ~50 .js files remaining, mostly in the following directories:
    • /server/routes
  • iots implemenation is required if we want the client to share types with the server

Looking at this, I think we should prioritize getting the server 100% TS and looking into iots implementation. We'll save the public folder for another day :)

Note: Here is an example of a recent PR that does some TS conversion in the server directory for routes, for reference.

Documentation

Organization

Documenting our modules

Enhancements

Knowledge Sessions

These are NOT going to be well-polished presentations, but rather a live working session of going through the steps described in that session's description and thinking aloud for others to witness how we problem solve each of these areas.

We'll record each of these. I expect folks will need to rewatch them a few times before they start to sink in, and we can do similar sessions repeatedly until things make a bit more sense.

Deprioritized items

Bugs

Tech Debt

Typescript (we'll wait on public conversion)

  • Public has ~200 non-test .js{x} files remaining, mostly in the following directories:
    • /public/components
    • /public/lib
@botelastic botelastic bot added the needs-team Issues missing a team label label Mar 8, 2022
@jasonrhodes jasonrhodes added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Mar 9, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Mar 9, 2022
@matschaffer
Copy link
Contributor

Is there an e2e testing issue we should get in here? cc @klacabane since he drafted the doc, not sure if issues are open or not yet.

@matschaffer
Copy link
Contributor

matschaffer commented Apr 5, 2022

I addd 2 bugs from https://github.com/elastic/support-known-issues/issues/1050 to the bug list on this issue.

@jasonrhodes
Copy link
Member Author

@Kerry350 / @matschaffer would you say that #130097 will close the last two items on the TS list (APM routes and iots plan)? If so, that should (hopefully) make the rest of the routes folder be much simpler to get through, IIUC?

@Kerry350
Copy link
Contributor

Kerry350 commented Apr 25, 2022

@jasonrhodes Correct. In fact I'm going to close #102437 and instead just drop a note / AC to say that io-ts should be used for validation to each of the remaining route conversion tickets.

#117756 did the groundwork (adding directories, helpers, runtime types etc) that makes adding io-ts validation to routes easy. Felix has further expanded on this a little in his work by adding even more common shared runtime types etc.

Between #130725 and #117756 route conversion should be pretty simple.

@jasonrhodes
Copy link
Member Author

@Kerry350 thanks so much! This is looking really great 👏

@smith
Copy link
Contributor

smith commented May 31, 2022

Not everything on here is done, but we're closing this as an issue we're tracking and will handle future technical debt items individually. 🚀

@smith smith closed this as completed May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

No branches or pull requests

5 participants