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/api/snort.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/api/snort.py')
-rw-r--r-- | clover/controller/control/api/snort.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clover/controller/control/api/snort.py b/clover/controller/control/api/snort.py index e2177be..fc3811e 100644 --- a/clover/controller/control/api/snort.py +++ b/clover/controller/control/api/snort.py @@ -15,12 +15,12 @@ import redis snort = Blueprint('snort', __name__) grpc_port = '50052' -pod_name = 'snort-ids' +pod_name = 'snort-ids.default' snort_grpc = pod_name + ':' + grpc_port channel = grpc.insecure_channel(snort_grpc) stub = snort_pb2_grpc.ControllerStub(channel) -HOST_IP = 'redis' +HOST_IP = 'redis.default' @snort.route("/snort/addrule", methods=['GET', 'POST']) |