Commit Graph

4209 Commits

Author SHA1 Message Date
Roland Schilter
b2f4eeb4e6 Revert "Avoid global by passing metricsGraphURL down"
This reverts commit 1a002880ed38cbb8da73e41954513d7144b362c4.
2017-08-11 16:45:13 +01:00
Roland Schilter
29a3070338 Pass layout when tracking mixpanel event 2017-08-11 16:45:13 +01:00
Roland Schilter
8188b7aed2 Append links directly to metrics
The initial idea was to keep it separate since the unattached
links were also to be displayed distinctively from the metrics.
With the new design, unattached links are rendered in the same
list as metrics with attached links.

Therefore, we treat unattached metric links as an empty metric.
2017-08-11 16:45:13 +01:00
Roland Schilter
b8c75071fe Switch to migrated rules in kube-state-metrics 2017-08-11 16:45:13 +01:00
Roland Schilter
a7d8d9b233 Update Deployment and DaemonSet queries 2017-08-11 16:45:13 +01:00
Roland Schilter
f21cf472cc Avoid global by passing metricsGraphURL down 2017-08-11 16:45:13 +01:00
Roland Schilter
fa69c2078b Fix linting errors 2017-08-11 16:45:13 +01:00
Roland Schilter
86030a9b86 Expand on the prom query source in comments 2017-08-11 16:45:13 +01:00
Roland Schilter
5a2593b5eb New design for hover states and overflow handling 2017-08-11 16:45:13 +01:00
Roland Schilter
9dcdc65e66 Improve comments; fix missing links w/o metrics 2017-08-11 16:45:13 +01:00
Roland Schilter
c812df88c3 Initialize props with immutable map/list 2017-08-11 16:45:13 +01:00
Roland Schilter
6b414ee435 Track health graph click in mixpanel (&& cleanup) 2017-08-11 16:45:13 +01:00
Roland Schilter
c3118d0397 Use ugorji over core json 2017-08-11 16:45:13 +01:00
Roland Schilter
3ddc6c866f Remove unnecessary fixture dependency of tests 2017-08-11 16:45:13 +01:00
Roland Schilter
d0527d28df Fix linting, cleanup, and add example to flag 2017-08-11 16:45:13 +01:00
Roland Schilter
702220f2ce Link scope-ui graphs clickable to prometheus queries
scope-app:
- Adds `-app.metrics-graph` cli flag for configuring the base url to
  use for graph links; supports `:orgID` and `:query` placeholders
- Renders `metric_links` in node detail API response

scope-ui:
- Extends `<CloudFeature />` with option `alwaysShow` and adds
  boolean `isCloud` property
- Links metric graphs in the ui's node details view for all k8s
  toplogies; or displays placeholder graph if no metrics available
2017-08-11 16:45:13 +01: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