Skip to content

adding streamlit dashboard#10

Merged
dewitt4 merged 14 commits intomainfrom
streamlit
Oct 27, 2025
Merged

adding streamlit dashboard#10
dewitt4 merged 14 commits intomainfrom
streamlit

Conversation

@dewitt4
Copy link
Copy Markdown
Contributor

@dewitt4 dewitt4 commented Oct 27, 2025

No description provided.

@dewitt4 dewitt4 self-assigned this Oct 27, 2025
Copilot AI review requested due to automatic review settings October 27, 2025 20:28
@dewitt4 dewitt4 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 27, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a Streamlit-based observability dashboard to the FluxAI project, providing real-time monitoring and analytics capabilities. The dashboard integrates with Prometheus for metrics and PostgreSQL for historical data, offering comprehensive visibility into system performance, costs, cache efficiency, and model health.

Key Changes:

  • Added interactive Streamlit dashboard with 5 main views (Overview, Cost Analytics, Cache Performance, Model Health, Distributed Tracing)
  • Created metrics client for querying Prometheus and PostgreSQL data sources
  • Added launcher scripts for both Windows (PowerShell) and Linux/Mac (Bash) environments

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
start-dashboard.sh Bash launcher script with dependency checks and service health validation
start-dashboard.ps1 PowerShell launcher script with equivalent functionality for Windows
dashboard/metrics_client.py Core metrics client handling Prometheus queries and database interactions
dashboard/config.py Configuration management using environment variables
dashboard/app.py Main Streamlit application with dashboard views and visualizations
dashboard/init.py Package initialization file
dashboard/README.md Comprehensive dashboard documentation with setup and usage guides
dashboard/QUICK_REFERENCE.md Quick reference guide for common dashboard operations
README.md Updated main README with dashboard references and launch instructions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread start-dashboard.sh
Comment thread dashboard/metrics_client.py Outdated
Comment thread dashboard/metrics_client.py Outdated
Comment thread dashboard/metrics_client.py Outdated
Comment thread dashboard/metrics_client.py Outdated
Comment thread dashboard/metrics_client.py Outdated
Comment thread dashboard/metrics_client.py Outdated
dewitt4 and others added 4 commits October 27, 2025 13:49
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dewitt4 dewitt4 changed the title adding streamlet dashboard adding streamlit dashboard Oct 27, 2025
dewitt4 and others added 2 commits October 27, 2025 13:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dewitt4 dewitt4 requested a review from Copilot October 27, 2025 20:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated 6 comments.

Comments suppressed due to low confidence (3)

dashboard/metrics_client.py:1

  • Mock change percentages are hardcoded. These should be calculated by comparing current metrics with previous period metrics to provide accurate trend information.
"""

dashboard/metrics_client.py:1

  • Mock change percentages are hardcoded. These should be calculated from actual metric comparisons to provide accurate cost trend analysis.
"""

dashboard/metrics_client.py:1

  • Mock change percentages are hardcoded. These should be calculated from actual cache metrics to accurately reflect cache performance trends.
"""

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread start-dashboard.ps1 Outdated
Comment thread dashboard/metrics_client.py Outdated
Comment thread dashboard/metrics_client.py Outdated
Comment thread dashboard/README.md Outdated
Comment thread dashboard/README.md Outdated
Comment thread dashboard/QUICK_REFERENCE.md Outdated
dewitt4 and others added 6 commits October 27, 2025 13:53
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dewitt4 dewitt4 requested a review from Copilot October 27, 2025 20:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dashboard/README.md
Comment thread dashboard/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dewitt4 dewitt4 merged commit fd97062 into main Oct 27, 2025
@dewitt4 dewitt4 deleted the streamlit branch October 27, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants