# aerospace-x-csula/stars-sandbox architecture

> Architecture diagram of the GitHub repository aerospace-x-csula/stars-sandbox, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aerospace-x-csula/stars-sandbox
- Repository: https://github.com/aerospace-x-csula/stars-sandbox

## Overview

STARS Sandbox is a Minikube-based environment for demonstrating an observability and remediation flow. The README documents the intended path from sample applications through OpenObserve and AI detection to auto-fix, while stating that the current goal is only the first three steps. The tree identifies cluster, log-generator, observability, and automation areas, but no source excerpts were provided; relationships beyond the README’s stated flow are therefore omitted.

Main entry points: [`apps/log-generator`](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/apps/log-generator) (Sample log app), [`observability`](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/observability) (OpenObserve), [`automation`](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/automation) (AI detection), [`infrastructure`](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/infrastructure) (Minikube cluster)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_environment["Sandbox environment"]
  node_cluster["Minikube cluster"]
end

subgraph group_telemetry["Telemetry pipeline"]
  node_log_generator["Sample log app"]
  node_openobserve[("OpenObserve")]
  node_collector["Collector setup"]
end

subgraph group_response["Detection and response"]
  node_ai_detection["AI detection"]
  node_auto_fix["Auto-fix"]
end

node_developer(("Developer"))

node_cluster -->|"hosts"| node_log_generator
node_log_generator -->|"sends logs"| node_openobserve
node_openobserve -->|"feeds detection"| node_ai_detection
node_ai_detection -->|"drives remediation"| node_auto_fix

click node_cluster "https://github.com/aerospace-x-csula/stars-sandbox/tree/main/infrastructure"
click node_log_generator "https://github.com/aerospace-x-csula/stars-sandbox/tree/main/apps/log-generator"
click node_openobserve "https://github.com/aerospace-x-csula/stars-sandbox/tree/main/observability"
click node_collector "https://github.com/aerospace-x-csula/stars-sandbox/tree/main/observability"
click node_ai_detection "https://github.com/aerospace-x-csula/stars-sandbox/tree/main/automation"
click node_auto_fix "https://github.com/aerospace-x-csula/stars-sandbox/tree/main/automation"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cluster toneBlue
class node_log_generator,node_openobserve,node_collector toneAmber
class node_ai_detection,node_auto_fix toneMint
class node_developer toneIndigo
```

## Components

### Sandbox environment

- [Minikube cluster](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/infrastructure): `infrastructure`

### Telemetry pipeline

- [Sample log app](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/apps/log-generator): `apps/log-generator`
- [OpenObserve](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/observability): `observability`
- [Collector setup](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/observability): `observability`

### Detection and response

- [AI detection](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/automation): `automation`
- [Auto-fix](https://github.com/aerospace-x-csula/stars-sandbox/tree/main/automation): `automation`

### Other components

- **Developer**

## Connections

- Minikube cluster → Sample log app: hosts (evidence: `README.md`)
- Sample log app → OpenObserve: sends logs (evidence: `README.md`)
- OpenObserve → AI detection: feeds detection (evidence: `README.md`)
- AI detection → Auto-fix: drives remediation (evidence: `README.md`)
