Commit Graph

89 Commits

Author SHA1 Message Date
Sarah Yasonik 193e660291 Resolve Environments#additional_metrics TypeError, ensure unix format 2019-04-09 09:54:17 +00:00
Clement Ho 23df40f99f Merge branch '31368-support-different-time-windows-for-performance-dashboard' into 'master'
Resolve "Support different time windows for performance dashboard"

Closes #31368

See merge request gitlab-org/gitlab-ce!26047
2019-04-05 22:18:11 +00:00
Adriel Santiago 8cf0af88e6 Wrap long chart tooltip series label names
Resolves an issue where long series label names overflow
the popover chart tooltip container
2019-04-05 21:59:57 +00:00
Sarah Yasonik f44737e453 Support multiple queries per chart on metrics dash
Adding support for metrics alerts disabled multiple query support.
To avoid a data model refactor, this enables the visual of multiple
queries per chart on the front end, combining queries based on
metric group, title, and y-axis label.

This also adds support for adding and editing alerts based on the
query selected rather than the single metric associated with the chart.
2019-04-05 20:41:31 +00: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
Tristan Read f4b8ec7ea1 Add requested resources to cluster health - ce port 2019-03-29 08:33:10 +00: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
Adriel Santiago b7c4ddfc4c Fix cluster health charts
Render both usage and capacity in chart
2019-03-07 09:39:45 +00:00
Adriel Santiago 64abbb78cd Add zoom to metrics dashboard
Adds the ability to change data zoom for metrics graphs
2019-03-06 12:28:42 +00:00
Adriel Santiago 95cbe90e71 Remove auto-appended units
Remove duplicate units from metrics dashboard graphs
2019-02-22 10:07:58 +00:00
Fatih Acet 6e51960788 Merge branch 'ee-8346-hide-unlicensed-alerts' into 'master'
Backport to resolve conflicts for gitlab-ee!9224

See merge request gitlab-org/gitlab-ce!24889
2019-02-07 09:43:43 +00:00
Adriel Santiago 1c4c4ba1d0 Remove ECharts metrics dashboard feature flag 2019-02-07 07:39:24 +00: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
Adriel Santiago e7bb9b95e8 Remove d3 metrics graph 2019-02-01 08:37:48 +00:00
syasonik db054bc166 Support flat response for envs index route
To support environment folders in the UI on the Environments List
page, the environments index route previously returned one environment
per folder, excluding those other than the latest deploy. However, the
environtments dropdown on the metrics dashboard requires that any
environment be selectable.

To accommodate both use cases, support an optional 'nested' parameter
in the index route to return either a flat, complete response or a
nested response based on the use case in question. The new default
response structure is the flat response.
2019-01-21 14:51:16 -06:00
Jose Ivan Vargas 40bb1bb363 Add empty state for graphs with no values 2018-11-29 19:22:43 +00:00
Mike Greiling 160157a92b
Prettify remaining files with differences in CE and EE 2018-10-31 14:33:12 -05:00
Peter Leitzen 8270be8a67 Resolve "No longer require a deploy to start Prometheus monitoring" 2018-10-26 15:31:04 +00:00
Mike Greiling 7a3e605350
Resolve eslint violations 2018-10-17 11:18:17 -05:00
Mike Greiling f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05: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
Simon Knox 4d2e9a1f32 multiseries 2018-09-07 06:05:10 +00:00
Jose Ivan Vargas 236e752bfb Resolve "Metrics drop down doesn't show all environment, some not clickable" 2018-07-17 20:44:26 +00:00
Jose 786edcb4f9 populate environments dropdown, add tests 2018-07-04 10:37:19 -05:00
Lukas Eipert 0e6441164f
remove all unused eslint-disable rules 2018-06-20 14:28:28 +02:00
Mike Greiling 56efb9ee92 Adjust monitoring graphs to support widgets in EE 2018-06-06 11:02:47 +00:00
Jose Ivan Vargas c93cd37767 Resolve "Monitoring graphs - Popover value improvements" 2018-05-07 21:08:59 +00:00
Mike Greiling 8fa0aeb880
fix illegal references to "this" in module context 2018-04-23 00:54:20 -05:00
Jose Ivan Vargas d303b5ba1f Added specs for rendered output, changed the background for stable tracks 2018-04-06 14:51:57 -05:00
Jose Ivan Vargas 89c8bd4eca Added specs 2018-04-06 14:39:47 -05:00
Jose Ivan Vargas 146954d0bb UX Adjustments for the prometheus dashboard 2018-04-06 14:37:46 -05:00
Jose Ivan Vargas f4ff62fa64 formatting fixes 2018-04-06 14:37:46 -05:00
Jose Ivan Vargas 657fea8688 Add summary statistics prometheus dashboard 2018-04-06 14:37:46 -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
Mike Greiling bb79e3cbec
fix broken karma specs due to removed function 2018-01-31 17:11:18 -06:00