Commit Graph

33 Commits

Author SHA1 Message Date
Sarah Yasonik 6f7b6ba072 Use the selected time window for metrics dashboard 2019-06-06 07:30:04 +00:00
Adriel Santiago 57f6be00bc Handle external dashboard form submission
Connect frontend UI with backend api for external dashboard link
2019-06-04 17:55:52 +00:00
Simon Knox 495f11e7d5 Fix warning in spec from committing unused mutation 2019-05-29 20:22:49 +10:00
Jose Ivan Vargas 218dd51239 Migrate the monitoring dashboard store to vuex
This changes the monitoring javascript store from
an object based to a vuex one
2019-05-27 22:30:36 +00:00
Adriel Santiago 78d3f94cee Add custom metrics form to dashboard
Use existing form to allow users to add custom metrics via the dashboard
2019-05-07 17:46:33 +00:00
Adriel Santiago 3565ee2ed6 Add external dashboard link
Add settings for linking to external dashboard from
metrics dashboard
2019-05-07 14:47:09 +00:00
Jose Vargas 3e3bead22b Make time window parameters available in the query string
This commit adds the frontend functionality to add the parameters
via the `pushState` api, preventing the need for a page reload.
2019-05-01 11:37:32 -05:00
Simon Knox e4d1f5d356 Fix Metrics environments dropdown
Also bring back EE dashboard component
2019-04-24 10:11:40 +10:00
Jose Vargas 976f1feb28 Document getTimeDifferenceMinutes usage
Also added a finally clause to the getGraphsDataWithTime promise
2019-04-04 14:53:03 -06:00
Jose Vargas a6f9f79b73 Changed the feature flag usage
In order for the dashboard component not to fail, the feature flag
is now required by default
2019-04-04 14:53:03 -06:00
Jose Vargas 217e9e4db1 Created `getTimeDiff` utility function
Updated i18n strings and changed the
monitoring service graph data params
2019-04-04 14:53:03 -06:00
Jose Vargas b75e03a6c9 Update translation files 2019-04-04 14:53:03 -06:00
Jose Vargas 481d25bf48 Add feature flag
Also added relevant tests that make use of a stubbed feature flag,
prettified files
2019-04-04 14:53:03 -06:00
Jose Vargas f77ff0c7bd Add support for time windows for the performance dashbooards
The performance dashboards will now display the data
from a set amount of time windows that are defined
on a constants file
2019-04-04 14:53:03 -06:00
Simon Knox c02b60261c Remove EE differences for monitoring dashboard 2019-03-27 00:55:04 +11:00
Jose Vargas 70c13de9b1 Change environments dropdown to use gitlab-ui 2019-03-21 13:45:12 -06:00
Simon Knox b1257951da Use ee_else_ce alias for monitoring_bundle 2019-02-07 08:15:42 +11:00
Adriel Santiago c974f4a82e
Handle window and container resize events
Resizes metrics graph on window and sidebard width changes
2019-02-04 08:04:45 -05:00
Peter Leitzen 8270be8a67 Resolve "No longer require a deploy to start Prometheus monitoring" 2018-10-26 15:31:04 +00:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Simon Knox deb6b429bf Backport changes from gitlab-ee!7538 2018-10-05 16:26:16 +00:00
Jose Vargas 6ff8146dc2
Change forceRedraw key format 2018-09-25 18:15:30 -05:00
Jose Vargas d0f81b60e4
Fix monitoring dashboard not working properly
This fixes a bug when the monitoring dashboard wouldn't redraw for when the sidebar
was collapsed/expanded on medium to small screens. This is done by enforcing vue
to update based on the change of a key
2018-09-25 11:21:44 -05:00
Jose 786edcb4f9 populate environments dropdown, add tests 2018-07-04 10:37:19 -05:00
Mike Greiling ce847d9db1
fix tests for dahboard.vue 2018-03-19 22:14:02 -05:00
Mike Greiling 226d43b317
prefer checking explicitly for null 2018-03-06 11:23:09 -06:00
Mike Greiling 57d1ddff0e
replace fixture with simple mount point 2018-03-06 11:09:16 -06:00
Mike Greiling bae88da83c
add new tests for metrics dashboard changes 2018-03-06 11:06:10 -06:00
Mike Greiling 2859ddde48
coerce hasMetrics to a boolean value before instantiating the Vue component 2018-03-06 03:41:21 -06:00
Mike Greiling ad51ab3197
fix karma tests 2018-03-06 03:11:40 -06:00
Winnie Hellmann 0711ebbd72 Use restore() instead of reset() for removing axios MockAdapter 2018-01-23 12:42:02 +01:00
Jose Ivan Vargas e673730079 Replaced vue-resource for axios in the prometheus dashboard 2017-11-22 10:52:14 -06:00
Mike Greiling 4b892a5f07 update specs to match reorganized monitoring components 2017-08-30 11:11:19 -05:00