Commit Graph

142 Commits

Author SHA1 Message Date
GitLab Bot 25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
GitLab Bot 0a850868df Add latest changes from gitlab-org/gitlab@master 2019-10-09 12:06:13 +00:00
GitLab Bot 1da3754b25 Add latest changes from gitlab-org/gitlab@master 2019-10-03 21:07:29 +00:00
GitLab Bot dea6ebd31a Add latest changes from gitlab-org/gitlab@master 2019-09-30 12:06:01 +00:00
GitLab Bot b1d7b01241 Add latest changes from gitlab-org/gitlab@master 2019-09-25 15:06:16 +00:00
GitLab Bot 2ed368929a Add latest changes from gitlab-org/gitlab@master 2019-09-24 18:06:05 +00:00
GitLab Bot 12577c6e39 Add latest changes from gitlab-org/gitlab@master 2019-09-20 21:06:18 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
Jose Vargas b5b2879e4a Add caret icons to the monitoring dashboard
The carets will function as a button that will allow the panels
from the monitoring dashboard to collapse and show panels
2019-09-09 13:52:14 -05:00
Winnie Hellmann 3d7b3300e7 Revert "Merge branch 'winh-fix-flaky-dashboard_spec' into 'master'"
This reverts merge request !32571
2019-09-06 14:03:32 +00:00
Winnie Hellmann d8f24afa6a Move monitoring dashboard_spec to Jest 2019-09-06 08:18:40 +00:00
Winnie Hellmann cea72e9042 Quarantine flaky dashboard_spec.js 2019-09-03 08:23:04 +00:00
Miguel Rincon 86268f750f Remove area.vue component 2019-08-24 12:18:56 -05:00
Tim Zallmann b15f03883e Merge branch '66073-use-time-series-chart-instead-of-area-chart-in-panel_types' into 'master'
Enable line charts in dashbaord panels and embedded charts

Closes #66073

See merge request gitlab-org/gitlab-ce!31920
2019-08-24 07:26:17 +00:00
Laura Montemayor 3e5946335d fix charts scroll handle icon 2019-08-23 10:12:18 +00:00
Miguel Rincon 9cbb1b1093 Replace the area with time series where used
- Replace in panel_type.vue
- Replace in embed.vue
- Port changes to support embed in 2 cols in large screens
- Update specs
2019-08-21 09:32:51 -05:00
Miguel Rincon f2619e21be This commit adds a new time series component
Adds a time series component for line and area charts.
Displays new charts in the dashboard.

- Use dynamic components for line/area swapping
- Add new line charts to dashboard in 2 panels
2019-08-21 13:43:01 +00:00
Miguel Rincon b6ea6d7f9b CE Port: Use EE panel type to display alert menu correctly in dashboards 2019-08-21 08:06:05 +00:00
Tristan Read a6319d1726 Embed metrics undefined param fix 2019-08-20 14:51:30 +00:00
Tristan Read 9cba187ac1 Add clipboard button to metric chart dropdown
Adds a clipboard button to the metrics dashboard, that allows
copying a link to an individual chart.
2019-08-16 16:21:46 +00:00
Laura Montemayor 9e75711aea Adds download CSV functionality to dropdown in metrics
This MR adds the functionality to download metrics data
as CSV. It also removes the exportMetricsToCsvEnabled feature
flag which was used before the dropdown was implemented to
display a button.
2019-08-14 22:57:33 +00:00
Laura Montemayor 6a5a624749 Adds button to download metrics data as csv
This MR adds a temporary button to be able to
download the Prometheus metrics from charts
to CSV format.
2019-08-09 20:29:33 +00:00
Simon Knox 055a7b973d Simplify getTimeDiff function
Pass keyname instead of translated string
2019-08-08 00:06:45 +00:00
Jose Ivan Vargas 378c507cbc Add empty chart component
This merge request adds an empty chart component
which will load in case of queries not having
data to display, this will override the current
logic, which hides all the graphs that have no
data to show
2019-07-24 03:18:57 +00:00
Jose Ivan Vargas 202a150f72 Add support for additional panel types
This introduces the single stat chart component aside from
the area chart component
2019-07-10 21:12:46 +00:00
Sarah Yasonik 7fd7406d56 Fix alert creation dropdown menu 2019-07-05 08:49:33 +00:00
Simon Knox 824ec018a1 Use gl-empty-state for monitor charts
Move a unit test to jest and use snapshot tests
2019-07-04 14:14:38 +10:00
Lukas Eipert 7abbbce38c
Fix selector in karma spec 2019-06-28 18:47:00 +02:00
Dhiraj Bodicherla 862e3ebad7 Turn commit sha in monitor charts popover to link
Commit sha in deployment popovers within monitoring dashboard are
not clickable or selectable. This commit makes those commit sha
links selectable and point to projects commit page
2019-06-26 16:09:11 -07:00
Simon Knox 27afe5496d 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-26 22:14:41 +00:00
Reuben Pereira b13cd6737a Always display environment selector
On the metrics dashboard, always display the environment selector,
even if there is no data to display for that environment. This allows
the user to switch to the metrics dashboard of another environment.
2019-06-26 14:53:55 +00:00
Jose Vargas 5665e91ade Add column chart component to the monitoring bundle
This merge request just adds the column chart
component without integrating it to the dashboard
2019-06-21 16:39:44 -05:00
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