summaryrefslogtreecommitdiff
path: root/lib/gitlab/metrics/dashboard/finder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-13/+4
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-10/+35
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-231-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-101-2/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-131-1/+13
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-061-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-311-0/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-041-2/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-181-2/+2
|
* Support dashboard params for metrics dashboardSarah Yasonik2019-08-071-20/+25
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/62971 Adds support to EnvironmentsController#metrics_dashboard for the following params: group, title, y_label These params are used to uniquely identify a panel on the metrics dashboard. Metrics are stored in several places, so this adds utilities to find a specific panel from the database or filesystem depending on the metric specified. Also moves some shared utilities into separate classes, notably default values and errors.
* Move BaseService to Services directorySarah Yasonik2019-07-291-5/+5
| | | | | | | | In preparation for embedding specific metrics in issues https://gitlab.com/gitlab-org/gitlab-ce/issues/62971, this commit moves the BaseService for metrics dashboards to a new services subdirectory. This is purely for the sake of organization and maintainability.
* Add embedding flag and filter to CPU/MemSarah Yasonik2019-06-201-5/+27
| | | | | | | | | | | This commits adds support for metrics dashboards for embedding. If the flag 'embedded' is provided to the environments/id/metrics_dashboard endpoint, the response will be suitable for embedding in issues or other content. This is a precursor for support for embedding metrics in GFM.
* Refactor for cleaner caching in dashboardsSarah Yasonik2019-06-131-0/+2
| | | | | | | | Opts to cache a full list of cached dashboards to better manage removing items from the cache. This also allows dashboards to be stored in the cache that don't necessarily correspond to a single dashboard yml.
* Update metrics dashboard API to load yml from repoSarah Yasonik2019-05-011-0/+51
Updates the EnvironmentController#metrics_dashboard endpoint to support a "dashboard" param, which can be used to specify the filepath of a dashboard configuration from a project repository. Dashboard configurations are expected to be stored in .gitlab/dashboards/. Updates dashboard post-processing steps to exclude custom metrics, which should only display on the system dashboard.