Add Enterprise Commercial License Grafana dashboard page - #907
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 48 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR adds an Enterprise Grafana dashboard page. It documents setup, datasources, panels, variables, and query edits. The navigation and observability dashboard documentation now link to and describe the Enterprise dashboard. ChangesEnterprise Grafana dashboard
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/pages/selfhosted/enterprise/grafana-dashboard.mdx`:
- Line 37: Update the NATS memory consumption panel description in
grafana-dashboard.mdx to remove the deployment-specific host names nats-1-prod
and nats-2-prod, replacing them with generic wording that does not expose
production infrastructure identifiers.
In `@src/pages/selfhosted/observability/dashboards.mdx`:
- Line 22: Update the shared variable table’s introductory scope statement to
apply only to the community dashboards, and explicitly exclude the Enterprise
dashboard variables documented separately. Preserve the existing community
variable descriptions for cluster, environment, and host.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 10ca9b55-c8e8-41e9-8725-ffd148aa5279
📒 Files selected for processing (3)
src/components/NavigationDocs.jsxsrc/pages/selfhosted/enterprise/grafana-dashboard.mdxsrc/pages/selfhosted/observability/dashboards.mdx
Summary
Documents the Grafana dashboard for the Enterprise Commercial License management stack added in netbirdio/netbird#7095.
/selfhosted/enterprise/grafana-dashboard, listed under Commercial License in the sidebar. It covers the dashboard's five rows (General, NATS, Debugging, Network Map, Browser Client), prerequisites (prometheus-nats-exporter for the NATS row, optional Loki for the log-based Debugging panel), import steps, and dashboard variables.$hostvariable referenced by several panel queries but not defined by the dashboard.Details verified against the dashboard JSON and source: the 7-second high-latency threshold (
management/server/telemetry/grpc_metrics.go), the wsproxy metric names (util/wsproxy/server/metrics.go), and the NATS signalling role, which is scoped to HA deployments since a single-node stack uses NATS for traffic flow only.Note: netbirdio/netbird#7095 is not merged yet, so the GitHub links to
management-enterprise.jsononmainwill 404 until it lands. This PR should merge after (or together with) the upstream one.Summary by CodeRabbit
New Features
Documentation