GitLab Bot
b7dfe2ae40
Add latest changes from gitlab-org/gitlab@master
2019-09-13 13:26:31 +00:00
rpereira2
2cd7b78391
Correct ordering of metrics
...
Correct the ordering of metrics on performance dashboard. Before common
metrics were moved into the DB, metric groups were ordered by the
priority defined in the common_metrics.yml file.
This commit adds a priority to each metric group in the PrometheusMetric
model.
It also combines title, priority and required_metrics into one frozen
GROUP_DETAILS hash so that the code is clearer.
This can be done since there is a fixed set of groups which are not
configurable.
2018-12-21 16:41:58 +05:30
gfyoung
f93f8f569d
Enable even more frozen string for lib/gitlab
...
Enables frozen string for the following:
* lib/gitlab/patch/**/*.rb
* lib/gitlab/popen/**/*.rb
* lib/gitlab/profiler/**/*.rb
* lib/gitlab/project_authorizations/**/*.rb
* lib/gitlab/prometheus/**/*.rb
* lib/gitlab/query_limiting/**/*.rb
* lib/gitlab/quick_actions/**/*.rb
* lib/gitlab/redis/**/*.rb
* lib/gitlab/request_profiler/**/*.rb
* lib/gitlab/search/**/*.rb
* lib/gitlab/sherlock/**/*.rb
* lib/gitlab/sidekiq_middleware/**/*.rb
* lib/gitlab/slash_commands/**/*.rb
* lib/gitlab/sql/**/*.rb
* lib/gitlab/template/**/*.rb
* lib/gitlab/testing/**/*.rb
* lib/gitlab/utils/**/*.rb
* lib/gitlab/webpack/**/*.rb
Partially addresses gitlab-org/gitlab-ce#47424 .
2018-11-19 18:24:22 -08:00
Kamil Trzciński
0a9d771bcb
Import common metrics into database.
...
This MR backports PrometheusMetric model to CE
and adds: common, identifier to figure out what kind of metric is used.
2018-09-04 12:19:22 +02:00
Paweł Chojnacki
0e97eca1d8
Backport custom metrics ce components
2018-02-23 17:58:40 +00:00
Pawel Chojnacki
b97d5b65dd
Use include ActiveModel::Model to hold metrics data parsed from yaml.
2017-06-16 14:34:23 +02:00
Pawel Chojnacki
f78fd3de5d
Fix Additional metrics filtering
...
+ remove test button that was leftover after a bad merge
2017-06-08 12:29:53 +02:00
Pawel Chojnacki
ccf89acc71
expand Namespaces:: and refactoring yaml parsing out of MetricGroup class
2017-06-06 16:15:11 +02:00
Pawel Chojnacki
e74896df0c
Matched Metrics tests
2017-06-05 11:36:56 +02:00
Pawel Chojnacki
61d7b7f117
Finalize refactoring additional metrics query
2017-05-25 15:05:56 +02:00
Pawel Chojnacki
2061414054
Additional metrics initial work, with working metrics listing, but without actoual metrics mesurements
2017-05-25 15:05:56 +02:00