summaryrefslogtreecommitdiff
path: root/lib/gitlab/metrics/subscribers/rails_cache.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update Metrics references to Object pathSarah Yasonik2019-02-141-2/+2
| | | | | | | On reload, references to Metrics within classes in the Gitlab::Metrics module fail. Update all references to ::Gitlab::Metrics so that constant lookup finds the right module in development. This fix should not impact production.
* Enable even more frozen string for lib/gitlabgfyoung2018-11-161-0/+2
| | | | | | | | | | | | | | | | Enables frozen string for the following: * lib/gitlab/hook_data/**/*.rb * lib/gitlab/i18n/**/*.rb * lib/gitlab/import/**/*.rb * lib/gitlab/import_export/**/*.rb * lib/gitlab/kubernetes/**/*.rb * lib/gitlab/legacy_github_import/**/*.rb * lib/gitlab/manifest_import/**/*.rb * lib/gitlab/metrics/**/*.rb * lib/gitlab/middleware/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
* Reduce cardinality of gitlab_cache_operation_duration_seconds histogramPawel Chojnacki2017-12-121-1/+1
|
* Make subscriber tests pass, after refactoring metricsPawel Chojnacki2017-11-021-3/+3
|
* move metrics for ActiveRecord, RailsCache and queue duration to instance ↵Pawel Chojnacki2017-11-021-20/+20
| | | | variables
* Cleanup metrics names and removing unnecessary cache read totalPawel Chojnacki2017-11-021-15/+5
|
* Make transaction labels more readablePawel Chojnacki2017-11-021-12/+16
|
* Rails cache metrics name alignmentPawel Chojnacki2017-11-021-8/+8
|
* Tune bucket sizes an action labelsPawel Chojnacki2017-11-021-1/+1
|
* Introduce missing Action conceptPawel Chojnacki2017-11-021-9/+35
|
* RailsCache metrics now includes fetch_hit/fetch_miss and read_hit/read_miss ↵Paco Guzman2016-07-051-2/+12
| | | | info.
* Instrument cache fetch hit and cache fetch missesPaco Guzman2016-07-051-0/+12
|
* Add cache count metrics to rails cacheadd-cache-count-metricsPablo Carranza2016-05-151-5/+7
|
* Instrument Rails cache codeinstrument-rails-cacheYorick Peterse2016-04-081-0/+39
This allows us to track how much time of a transaction is spent in dealing with cached data.