diff options
author | earrage <eddie.arrage@huawei.com> | 2018-10-27 12:55:48 -0700 |
---|---|---|
committer | earrage <eddie.arrage@huawei.com> | 2018-10-31 10:04:16 -0700 |
commit | 9a6490fe5414569551aaa0b3764bc1c1f81fb151 (patch) | |
tree | 2858bc85b3805e6a7391964b203c85cd80e579e4 /clover/controller/control/views/dashboard.py | |
parent | 257e0d846ade5b1051c3734ad6a2d5bea4ce4ca7 (diff) |
Initial UI dashboard added for visibility
- Add foundation, jquery and jquery-ui open source js/css
packages for skin, layout and AJAX
- Add plotly and candela js open source graphing packages
- Build core visibility view and provide toplevel templates,
headers, menu navigation, etc.
- Update collector/visibility APIs to align to latest Spark
analytics and UI requirements
- Refresh page elements at 5 second interval.
- Visibility controls to stop continual page refresh and clear
visibility.
- Multi-select and update service set to analyze.
- System count updates for tracing, spans, metrics schemas.
- Min/max/avg response times per service (aggregate) table.
- Graphs for: per service request counts, user-agent percentages,
per service/URL counts, per URL/status code counts, per URL counts
- Tabs for distinct URLs, status codes, user-agents, upstream cluster,
operation names, nodeids (service names)
- Table for metrics counters specified in visibility configuration.
- Metrics over time scatter plots for tracked metrics.
Change-Id: Ie3ea12fd32e0274ac52f78becc4a56c4c4134660
Signed-off-by: earrage <eddie.arrage@huawei.com>
Diffstat (limited to 'clover/controller/control/views/dashboard.py')
-rw-r--r-- | clover/controller/control/views/dashboard.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/clover/controller/control/views/dashboard.py b/clover/controller/control/views/dashboard.py deleted file mode 100644 index 8b6969c..0000000 --- a/clover/controller/control/views/dashboard.py +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) Authors of Clover -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 - -from flask import Blueprint, render_template, abort -from jinja2 import TemplateNotFound - -simple_page = Blueprint('simple_page', __name__) - - -@simple_page.route('/dashboard', defaults={'page': 'index'}) -def show(page): - try: - return render_template('home.html') - except TemplateNotFound: - abort(404) |