Commit Graph

4207 Commits

Author SHA1 Message Date
Matthias Radestock
7520713dc4 refactor: reduce duplication in links_test 2017-08-16 17:28:14 +01:00
Roland Schilter
f26c875c4c Filter by namespace in metric queries (#2819)
And get rid of B -> MB conversion

Fixes #2817
2017-08-16 17:08:51 +01:00
Roland Schilter
b69ce340f8 scope/cortex: fix typo in query filter (#2815)
* scope/cortex: fix typo in query

* Get rid of the "controllers" code

They do not all share the same queries.
2017-08-16 10:46:49 +01:00
Roland Schilter
0d381a34d6 Link scope-ui graphs clickable to prometheus queries (#2664)
scope-app:
* Adds `-app.metrics-graph` cli flag for configuring the base url to
use for graph links; supports :orgID and :query placeholders
* Assigns query URLs to existing metrics and appends empty metrics if missing

scope-ui:
* Extends <CloudFeature /> with option alwaysShow
* Adds <CloudLink /> to simplify routing when in cloud vs not in cloud
* Links metric graphs in the ui's node details view for all k8s
toplogies and containers so far
* Tracks metric graph click in mixpanel `scope.node.metric.click`
* Uses percentages and MB for CPU/Memory urls
* Passes timetravel timestamp to cortex in deeplink
2017-08-15 18:56:23 +01:00
Alfonso Acosta
4be194d236 Small refactoring leftover from 2017-08-15 12:36:43 +00:00
Roland Schilter
90d0e79e65 Remove whitespace from empty connection lists (#2811) 2017-08-14 18:42:36 +01:00
Alfonso Acosta
c288d8c226 Merge pull request #2810 from weaveworks/1678-refine-scope-launch-urls
Make Scope's URL message more precise
2017-08-14 18:20:50 +02:00
Alfonso Acosta
425033df20 Make sh linter happy 2017-08-14 14:36:02 +00:00
Alfonso Acosta
6b2623b619 Make Scope's URL message more precise 2017-08-14 13:50:21 +00:00
Matthias Radestock
1f87e3dc0a simplify probe.token/service-token usage
Addresses part of #2304.
2017-08-14 12:50:03 +01:00
Filip Barl
ad2e530cdf Merge pull request #2807 from weaveworks/keep-node-details-up-to-date-when-time-travelling
Time Travel: keep active node details panels up-to-date
2017-08-14 10:03:59 +02:00
Filip Barl
a2de44514c Smarter node details transition and polishing the edge cases. 2017-08-11 16:26:07 +02:00
Filip Barl
596885ed81 Improved the node details time transitioning logic 2017-08-11 13:26:42 +02:00
Filip Barl
1b028e1e04 Add fade out transition to node details panel and activate it when switching the top panel. 2017-08-11 12:41:59 +02:00
Matthias Radestock
0b283b0698 Merge pull request #2806 from weaveworks/commutative-network-calc
make network calculation commutative
2017-08-11 10:27:23 +01:00
Filip Barl
badac90ee9 Merge pull request #2801 from weaveworks/dont-resume-time-when-timeline-unmounted
Time Travel: unmount in the shutdown() action
2017-08-10 17:56:28 +02:00
Filip Barl
0c7896222c Exit time travel mode as a part of the app shutdown(). 2017-08-10 16:36:33 +02:00
Filip Barl
f19e4c55cd Resume time works only if previously paused. 2017-08-10 16:01:09 +02:00
Matthias Radestock
7db84aba21 make network calculation commutative 2017-08-10 11:08:42 +01:00
Filip Barl
2a6cbf6e4b Merge pull request #2803 from weaveworks/make-nodes-graph-animations-a-bit-faster
Make nodes graph animations a bit faster
2017-08-10 10:12:21 +02:00
Simon
1e16dd3cb2 Merge pull request #2805 from weaveworks/timetravel-fix-timestamp-width
Fixes timetravel timestamp input getting truncatated on OSX
2017-08-09 19:23:03 +02:00
Simon Howe
3ab216b6ea Fixes timetravel timestamp input getting truncatated on OSX
Now supports 88:88:88T88:88:88Z!
2017-08-09 17:58:57 +02:00
Filip Barl
3fe2fbd68e Make nodes graph animations a bit faster. 2017-08-09 16:10:03 +02:00
Filip Barl
ff6d31442f Merge pull request #2616 from weaveworks/use-report-persistence-flag-in-the-ui
Time Travel: remove the feature flag and make the availability depend on historic reports capability
2017-08-08 15:37:28 +01:00
Filip Barl
0823e2e923 Merge pull request #2795 from weaveworks/improve-firefox-performance
Improve Firefox performance
2017-08-08 15:36:10 +01:00
Filip Barl
c29303134a Fixed the nodes-chart-overlay warnings. 2017-08-08 14:45:59 +01:00
Filip Barl
c131fd1283 Addressed @rndstr's comment. 2017-08-08 14:42:16 +01:00
Filip Barl
f98827698f Replaced the feature flag with historic reports capability flag. 2017-08-08 14:29:54 +01:00
Filip Barl
322414b51f Polished the nodes chart overlay. 2017-08-08 10:52:54 +01:00
Filip Barl
855d1cbc6b Re-enabled all CSS animations. 2017-08-08 10:52:54 +01:00
Filip Barl
d105e7471c Enabled back some CSS transitions. 2017-08-08 10:52:54 +01:00
Filip Barl
d180437411 Decreased the graph complexity treshold. 2017-08-08 10:52:54 +01:00
Filip Barl
038bbbd5ce Added a semitransparent layer over the background nodes. 2017-08-08 10:52:54 +01:00
Roland Schilter
656fbac4e6 Fix rendering of exported SVG (#2794)
Replace invalid characters in attribute value; fixes the error

        Unescaped '<' not allowed in attributes values

Fixes #2534
2017-08-08 10:04:22 +01:00
Matthias Radestock
c2053b4163 Merge pull request #2798 from weaveworks/2790-sqs-logging
log sqs messages at 'debug' rather than 'info' level

Fixes #2790.
2017-08-08 08:50:32 +01:00
Filip Barl
d8ffea4781 Balance timeline zooming sensitivity between Firefox and Chrome (#2788)
* Balanced timeline zooming sensitivity between Firefox and Chrome.

* Organize the wheel delta zooming logic better.
2017-08-07 11:27:12 +02:00
Matthias Radestock
c312579bfe log sqs messages at 'debug' rather than 'info' level
Fixes #2790.
2017-08-07 10:17:05 +01:00
Roland Schilter
13188845a5 Fix timeline label vertical displacement on some Chromes (#2793)
Fixes #2789
2017-08-07 11:05:53 +02:00
Matthias Radestock
7a23afde2c Merge pull request #2781 from weaveworks/2550-non-login-container-shell
run a normal (rather than login) shell in containers
2017-08-02 08:33:43 +01:00
Elena Morozova
1291cea9bc Merge pull request #2786 from weaveworks/test
Revert "service-ui-kicker-test"
2017-08-01 15:35:09 -07:00
Elena Morozova
121b7f66ac Revert "service-ui-kicker-test"
This reverts commit 05f6b3bd48.
2017-08-01 15:34:13 -07:00
Mike Lang
c89d744b9b Merge pull request #2785 from weaveworks/mike/k8s/fix-never-scheduled-cronjob
k8s probe: Fix a panic (nil pointer deref) when a cronjob has never been scheduled
2017-08-01 15:09:26 -07:00
Mike Lang
c149e5792a k8s probe: Fix a panic (nil pointer deref) when a cronjob has never been scheduled
in which case cj.Status.LastScheduled is nil.
New behaviour is to omit it from the map (and therefore the display) if it has never been scheduled.
2017-08-01 14:14:44 -07:00
Elena Morozova
0c692ceaca Merge pull request #2782 from weaveworks/test
service-ui-kicker-test
2017-08-01 13:25:44 -07:00
Elena Morozova
05f6b3bd48 service-ui-kicker-test 2017-08-01 13:24:08 -07:00
Filip Barl
9ea66266f3 Adjust timeline zoom sensitivity on Firefox (#2777)
* Adjust Firefox zoom sensitivity.

* Animate zooming to make it appear smoother (especially on Firefox).

* Debounced zoom tracking.

* Addressed the comments.
2017-08-01 17:36:46 +02:00
Matthias Radestock
1e38e78518 Merge pull request #2779 from weaveworks/2748-synthesise-service-network
synthesise k8s service network from service IPs

Fixes #2748.
2017-08-01 13:17:27 +01:00
Filip Barl
f9e9a8ae4d Shrink timeline height and make years fade out (#2778)
* Shrink timeline height to 55px and make years fade out as hours fade in.

* Address the comments.
2017-08-01 14:17:03 +02:00
Matthias Radestock
4dae7edc9c synthesise k8s service network from service IPs
This prevents cluttering host.LocalNetworks with lots of /32
addresses. These were unsightly and rather distracting in the UI. They
also bloated the report and slowed down server-side rendering.

Fixes #2748.
2017-08-01 12:17:50 +01:00
Matthias Radestock
994719b815 test PATH propagation in container shells 2017-08-01 12:12:46 +01:00