Skip to content

Comments

Allow embedding of grafana dashboard in website without additional port forwarding#20

Merged
cchwala merged 2 commits intomainfrom
grafana_acecss_proxy_or_port_forward
Feb 12, 2026
Merged

Allow embedding of grafana dashboard in website without additional port forwarding#20
cchwala merged 2 commits intomainfrom
grafana_acecss_proxy_or_port_forward

Conversation

@cchwala
Copy link
Member

@cchwala cchwala commented Feb 12, 2026

closes #21

with this it should now be possible to deploy the demo system and just forward port 5000 for external access and automatically allow access to grafana which also allows to embed the real-time data dashboard in the website.

- Configure Grafana to serve from /grafana/ subpath with proper root URL
- Update Flask proxy to forward requests to Grafana subpath endpoint
- Add cookie settings for iframe embedding (SameSite=none, disable login form)
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

❌ Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.83%. Comparing base (9f3bd73) to head (f5e55ff).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
webserver/main.py 0.00% 16 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   68.72%   68.83%   +0.11%     
==========================================
  Files          22       22              
  Lines        1848     1845       -3     
==========================================
  Hits         1270     1270              
+ Misses        578      575       -3     
Flag Coverage Δ
mno_simulator 87.87% <ø> (ø)
parser 80.56% <ø> (ø)
webserver 29.81% <0.00%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cchwala cchwala changed the title Allow internal access to grafana without additional port forwarding Allow embedding of grafana dashboard in website without additional port forwarding Feb 12, 2026
@cchwala cchwala merged commit 1a4f8b4 into main Feb 12, 2026
6 of 7 checks passed
@cchwala cchwala deleted the grafana_acecss_proxy_or_port_forward branch February 12, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embed Grafana time series plot in website so that no additional port-forwarding is needed when deploying

1 participant