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

Define strategy for architectural observability #185

Open
yt-ms opened this issue May 3, 2024 · 1 comment
Open

Define strategy for architectural observability #185

yt-ms opened this issue May 3, 2024 · 1 comment

Comments

@yt-ms
Copy link

yt-ms commented May 3, 2024

Feature Request

Description of Problem:

Being able to describe (through CALM) what we think our architecture should be is very useful, however being able to show that what is actually running matches what we think it is would be much more powerful. Architectural drift detection is a problem for architects (did we build what we said?) but also for security and other control groups who typically will have approved an architectural design but have no way to tell whether the required controls are accurate for production.

We should lay out different ways that we could support observation of the running architecture in such a way as to be able to compare back to the CALM definition, identify differences, and potentially even assess the impact of those differences. We should then prioritise which of the approaches to support sooner versus later.

Potential Solutions:

Examples as a starting point:

  • Code-scanning (direct source code, or via reflection) for annotations carrying CALM data (c.f. C4 annotations - perhaps being able to use existing C4 annotations...).
  • Examining deployment configuration (e.g. Terraform)
  • Standard endpoint exposed by services that can be interrogated (c.f. Spring Boot Actuator), possibly using the annotations from above
  • Standard information output to logs for scraping
  • "Phone home" from services with the service's architecture model to slot into the overall picture
@yt-ms
Copy link
Author

yt-ms commented May 28, 2024

Also should consider how people could leverage existing vendor tools that do discovery to generate CALM data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants