Dhiraj Bodicherla
3179564f74
Fix missing deployment rockets in monitor dashboard
...
Fixed inconsistencies in variable names for deployment
endpoints for monitoring dashboard which causes
deployment rocket icons to disappear
2019-06-14 07:59:42 +00:00
Reuben Pereira
a4e320a42c
Remove the grafana_dashboard_link feature flag
2019-06-12 19:20:22 +00:00
Mike Greiling
2e38ffe393
Merge branch 'prom-api-3' into 'master'
...
Switch charts to Prometheus API endpoint CE-3
Closes #58516
See merge request gitlab-org/gitlab-ce!29280
2019-06-12 16:48:45 +00:00
Mike Greiling
eabd1b9e6a
Merge branch 'prom-api-2' into 'master'
...
Switch charts to Prometheus API endpoint CE-2
See merge request gitlab-org/gitlab-ce!29226
2019-06-12 16:17:37 +00:00
Phil Hughes
6766a88ade
Merge branch '59651-remove-unnecessary-decimal-places-on-chart-axes' into 'master'
...
Resolve "Remove unnecessary decimal places on chart axes"
Closes #59651
See merge request gitlab-org/gitlab-ce!29468
2019-06-12 13:25:13 +00:00
Simon Knox
fce7e7374f
Strip trailing decimal zeros from Metrics axis
2019-06-12 20:52:10 +10:00
Simon Knox
a6e3042491
Make time window links take up full dropdown width
2019-06-12 07:19:49 +10:00
Simon Knox
66e65c601d
Use Prometheus API for dashboard metrics
...
Make API request for each chart
2019-06-07 21:48:37 +10:00
Simon Knox
fba991dc48
Add feature flag and dashboard endpoint
...
First part of FE for Prometheus API
Dashboard endpoint fetches all info except for chart results
Renders empty groups after loading
2019-06-07 21:39:03 +10:00
Sarah Yasonik
3f5447dbbd
Remove metrics_time_window feature flag
2019-06-07 08:48:10 +00:00
Sarah Yasonik
6f7b6ba072
Use the selected time window for metrics dashboard
2019-06-06 07:30:04 +00:00
Filipa Lacerda
85d1444977
Merge branch 'jivanvl-add-single-stat-chart-component' into 'master'
...
Add single_stat chart component to the monitoring bundle
See merge request gitlab-org/gitlab-ce!28948
2019-06-05 08:56:35 +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
Jose Vargas
e02cd451b2
Add single_stat chart component to the monitoring bundle
...
This merge requests just adds the component without integrating it
to the dashboard, it adds tests as well
2019-06-04 11:41:13 -05: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
Adriel Santiago
d753db3f14
Resolve cluster metrics regression
...
Fixes a regression causing cluster metrics not to display
2019-04-18 23:09:15 +00:00
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