-
Notifications
You must be signed in to change notification settings - Fork 2
feat: update observability and system flowchart in README #18
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -106,62 +106,62 @@ graph TB | |||||
| end | ||||||
|
|
||||||
| subgraph "📊 Observability" | ||||||
| Agents --> Arize[Arize/Phoenix<br/>• 97% Traced<br/>• 10+ Scorers] | ||||||
| Postgres --> Arize | ||||||
| Agents --> Langfuse[Langfuse Traces<br/>• 97% Traced<br/>• 10+ Scorers] | ||||||
| Postgres --> Langfuse | ||||||
| end | ||||||
|
|
||||||
| UI --> App | ||||||
| App --> Agents | ||||||
|
|
||||||
| style Client fill:#e1f5fe | ||||||
| style Arize fill:#f3e5f5 | ||||||
| style UI fill:#e8f5e9 | ||||||
| style Client fill:#e8f5e9,stroke:#ff9800 | ||||||
| style Langfuse fill:#e8f5e9,stroke:#ff9800 | ||||||
| style UI fill:#e8f5e9,stroke:#64b5f6 | ||||||
| ``` | ||||||
|
|
||||||
| ## 📊 **System Flowchart** | ||||||
|
|
||||||
| ```mermaid | ||||||
| flowchart TD | ||||||
| A[app/chat] -->|components|< B[chat-header.tsx] | ||||||
| A -->|components|< C[chat-messages.tsx] | ||||||
| A -->|components|< D[chat-input.tsx] | ||||||
| A -->|config|< E[agents.ts] | ||||||
| A -->|providers|< F[chat-context.tsx] | ||||||
| A[app/chat] -->|components| B[chat-header.tsx] | ||||||
| A -->|components| C[chat-messages.tsx] | ||||||
| A -->|components| D[chat-input.tsx] | ||||||
| A -->|config| E[agents.ts] | ||||||
| A -->|providers| F[chat-context.tsx] | ||||||
|
|
||||||
| G[app/networks] -->|components|< H[network-header.tsx] | ||||||
| G -->|components|< I[network-messages.tsx] | ||||||
| G -->|config|< J[networks.ts] | ||||||
| G -->|providers|< K[network-context.tsx] | ||||||
| G[app/networks] -->|components| H[network-header.tsx] | ||||||
| G -->|components| I[network-messages.tsx] | ||||||
| G -->|config| J[networks.ts] | ||||||
| G -->|providers| K[network-context.tsx] | ||||||
|
|
||||||
| L[app/workflows] -->|components|< M[workflow-canvas.tsx] | ||||||
| L -->|components|< N[workflow-header.tsx] | ||||||
| L -->|config|< O[workflows.ts] | ||||||
| L -->|providers|< P[workflow-context.tsx] | ||||||
| L[app/workflows] -->|components| M[workflow-canvas.tsx] | ||||||
| L -->|components| N[workflow-header.tsx] | ||||||
| L -->|config| O[workflows.ts] | ||||||
| L -->|providers| P[workflow-context.tsx] | ||||||
|
|
||||||
| Q[app/dashboard] -->|components|< R[dashboard.tsx] | ||||||
| Q -->|components|< S[agent-list.tsx] | ||||||
| Q -->|providers|< T[dashboard-context.tsx] | ||||||
| Q[app/dashboard] -->|components| R[dashboard.tsx] | ||||||
| Q -->|components| S[agent-list.tsx] | ||||||
| Q -->|providers| T[dashboard-context.tsx] | ||||||
|
|
||||||
| U[lib] -->|hooks|< V[use-mastra.ts] | ||||||
| U -->|hooks|< W[use-dashboard-queries.ts] | ||||||
| U -->|utils|< X[utils.ts] | ||||||
| U -->|client|< Y[mastra-client.ts] | ||||||
| U[lib] -->|hooks| V[use-mastra.ts] | ||||||
| U -->|hooks| W[use-dashboard-queries.ts] | ||||||
| U -->|utils| X[utils.ts] | ||||||
| U -->|client| Y[mastra-client.ts] | ||||||
|
|
||||||
| Z[src/types] -->|api|< AA[mastra-api.ts] | ||||||
| Z[src/types] -->|api| AA[mastra-api.ts] | ||||||
|
|
||||||
| AB[src/mastra/index.ts] -->|imports|< AC[agents/*] | ||||||
| AB -->|imports|< AD[tools/*] | ||||||
| AB -->|imports|< AE[workflows/*] | ||||||
| AB -->|imports|< AF[networks/*] | ||||||
| AB -->|imports|< AG[config/*] | ||||||
| AB[src/mastra/index.ts] -->|imports| AC[agents/*] | ||||||
| AB -->|imports| AD[tools/*] | ||||||
| AB -->|imports| AE[workflows/*] | ||||||
| AB -->|imports| AF[networks/*] | ||||||
| AB -->|imports| AG[config/*] | ||||||
|
|
||||||
| style A fill:#e8f5e9,stroke:#81c784 | ||||||
| style G fill:#e8f5e9,stroke:#81c784 | ||||||
| style L fill:#e8f5e9,stroke:#81c784 | ||||||
| style Q fill:#e8f5e9,stroke:#81c784 | ||||||
| style U fill:#e3f2fd,stroke:#64b5f6 | ||||||
| style Z fill:#e3f2fd,stroke:#64b5f6 | ||||||
| style AB fill:#fff3e0,stroke:#ff9800 | ||||||
| style AB fill:#000000,stroke:#ff9800 | ||||||
|
||||||
| style AB fill:#000000,stroke:#ff9800 | |
| style AB fill:#fff3e0,stroke:#ff9800 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fill color for the
src/mastra/index.tsnode (AB) in this Mermaid diagram has been set to black (#000000). This will make the node's label unreadable, as the default text color is also black. To ensure the diagram is clear, please use a lighter fill color that provides sufficient contrast. The previous color#fff3e0would work well.