-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-6939][Streaming][WebUI] Add timeline and histogram graphs for streaming statistics #5533
Closed
Closed
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
dd653a1
Add timeline and histogram graphs for streaming statistics
zsxwing b82ed1e
Update the graphs as per comments
zsxwing a0458f9
Clean the codes
zsxwing ad93295
Remove unnecessary codes
zsxwing ddf741a
Fix the unit test
zsxwing 5688702
Fix the unit test
zsxwing 881c907
Use histogram for distribution
zsxwing d78672a
Make the X axis use the same range
zsxwing c23ce10
Make two graphs close
zsxwing fed8219
Move the x axis at the top and show a better tooltip
zsxwing 04c7500
Make the server and client use the same timezone
zsxwing 4c0b43f
Update Streaming UI
zsxwing c81a1ee
Change time unit in the graphs automatically
zsxwing 8e4363c
Prepare for the demo
zsxwing a459f49
Add a dash line to processing time graphs
zsxwing d0b0aec
Clean up the codes
zsxwing 18607a1
Merge branch 'master' into SPARK-6939
zsxwing 4a8f886
Merge branch 'master' into SPARK-6939
zsxwing fd03ad0
Add a test to verify no memory leak
zsxwing a2972e9
Add some ui tests for StreamingPage
zsxwing 7bbdc0a
Hide the receiver sub table if no receiver
zsxwing 70d8533
Remove BatchInfo.numRecords and a few renames
zsxwing 2586916
Merge branch 'master' into SPARK-6939
zsxwing 74307cf
Reuse the data for histogram graphs to reduce the page size
zsxwing 203605d
Merge branch 'master' into SPARK-6939
zsxwing b50fa32
Jump to the batch page when clicking a point in the timeline graphs
zsxwing 3be4b7a
Use InputInfo
zsxwing d5d86f6
Fix incorrect lastErrorTime
zsxwing e275e23
Move time related methods to Streaming's UIUtils
zsxwing cc392c5
Merge branch 'master' into SPARK-6939
zsxwing ff0bff8
Make InputDStream.name private[streaming]
zsxwing b3f303e
Add comments for unclear classes and methods
zsxwing d457277
Fix UIUtils in BatchPage
zsxwing 70cc87d
Streaming Scheduling Delay => Scheduling Delay
zsxwing cd03424
Fix .rat-excludes
zsxwing deacc3f
Remove unused import
zsxwing 9f7cd19
Merge branch 'master' into SPARK-6939
zsxwing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
core/src/main/resources/org/apache/spark/ui/static/streaming-page.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
|
||
.graph { | ||
font: 10px sans-serif; | ||
} | ||
|
||
.axis path, .axis line { | ||
fill: none; | ||
stroke: gray; | ||
shape-rendering: crispEdges; | ||
} | ||
|
||
.axis text { | ||
fill: gray; | ||
} | ||
|
||
.tooltip-inner { | ||
max-width: 500px !important; // Make sure we only have one line tooltip | ||
} | ||
|
||
.line { | ||
fill: none; | ||
stroke: #0088cc; | ||
stroke-width: 1.5px; | ||
} | ||
|
||
.bar rect { | ||
fill: #0088cc; | ||
shape-rendering: crispEdges; | ||
} | ||
|
||
.bar rect:hover { | ||
fill: #00c2ff; | ||
} | ||
|
||
.timeline { | ||
width: 500px; | ||
} | ||
|
||
.histogram { | ||
width: auto; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for those keeping score this is BSD 3-clause and is OK to include.