summaryrefslogtreecommitdiff
path: root/lib/gitlab/metrics
Commit message (Expand)AuthorAgeFilesLines
* Only use features for eventsPawel Chojnacki2018-02-201-3/+3
* Put all event metrics exposed to prometheus behind a feature flagPawel Chojnacki2018-02-201-0/+1
* use Gitlab::UserSettings directly as a singleton instead of including/extendi...Mario de la Ossa2018-02-021-2/+1
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
* Rename Concern -> Methods41771-reduce-cardinality-of-metricsPawel Chojnacki2018-01-297-7/+7
* add comment aabout hotspotsPawel Chojnacki2018-01-291-0/+1
* remove unused (?) variablesPawel Chojnacki2018-01-291-3/+0
* Use class variables for metrics provider cachePawel Chojnacki2018-01-291-6/+5
* fix typo in the bucketsPawel Chojnacki2018-01-291-1/+1
* Do not use include Gitlab::CurrentSettings unnecessarilyPawel Chojnacki2018-01-292-13/+15
* Let mutex be initialized only oncePawel Chojnacki2018-01-291-1/+1
* Fix wrong histograam bucketsPawel Chojnacki2018-01-292-2/+2
* Add missing feature gate for cpu metricsPawel Chojnacki2018-01-291-1/+1
* Refactor metrics to use metrics dsl notationPawel Chojnacki2018-01-293-20/+24
* Convert InfluxDB to concern. Fix uninitialized metrics when metrics code is i...Pawel Chojnacki2018-01-293-147/+151
* Move prometheus metrics to module. Use class instance variables for metrics a...Pawel Chojnacki2018-01-293-51/+56
* use class variable for Mutex instead of ConstPawel Chojnacki2018-01-291-2/+7
* Cleanup rspecPawel Chojnacki2018-01-291-10/+6
* NullMetric as a singletonPawel Chojnacki2018-01-293-2/+4
* Avoid cascading lockingPawel Chojnacki2018-01-291-6/+12
* Migrate and reduce the buckets of Gitaly metricsPawel Chojnacki2018-01-291-1/+3
* Test if feature is respectedPawel Chojnacki2018-01-291-2/+2
* Add Tests for Metrics::ConcernPawel Chojnacki2018-01-291-3/+3
* Use Global Mutex, and class instance variables usingPawel Chojnacki2018-01-291-9/+8
* Fix rubocop warningsPawel Chojnacki2018-01-292-18/+19
* Fix testsPawel Chojnacki2018-01-291-3/+3
* Convert active recordPawel Chojnacki2018-01-291-10/+8
* Fix helper methods and document metric builder optionsPawel Chojnacki2018-01-292-4/+13
* Reduce cardinality and convert some metrics to new schemePawel Chojnacki2018-01-292-17/+22
* Put View instrumentation and transaction memory use behind featurePawel Chojnacki2018-01-292-7/+9
* Fix code after refactoringPawel Chojnacki2018-01-294-45/+44
* Refactor method concern to use hashesPawel Chojnacki2018-01-292-51/+135
* Refactor transaction metricsPawel Chojnacki2018-01-291-59/+22
* cleanup method callPawel Chojnacki2018-01-292-3/+5
* Actually make the new methods workPawel Chojnacki2018-01-292-23/+27
* Initiaal implementation of metrics concernPawel Chojnacki2018-01-293-44/+96
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
* Use Concurrent::AtomicReference instead AtomicFixnumOswaldo Ferreira2017-12-261-1/+1
* Merge branch 'pawel/reduce_cardinality_of_prometheus_metrics' into 'master'Douwe Maan2017-12-216-18/+23
|\
| * Use seconds where possible, and convert to milliseconds for Influxdb consumptionPawel Chojnacki2017-12-212-18/+14
| * use in_milliseconds rails helperPawel Chojnacki2017-12-202-3/+3
| * Fix tests and formattingPawel Chojnacki2017-12-193-2/+2
| * Make `System.monotonic_time` retun seconds represented by float with microsec...Pawel Chojnacki2017-12-124-14/+23
| * Reduce cardinality of gitlab_cache_operation_duration_seconds histogramPawel Chojnacki2017-12-121-1/+1
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-12-153-55/+19
|\ \
| * | Use class variable and add rubocop exceptionpawel/cache_feature_check_for_5_minutes_for_method_callPawel Chojnacki2017-12-121-0/+2
| * | Expire feature flag cache after 1minutePawel Chojnacki2017-12-121-1/+1
| * | use class variables instead of CONSTANTsPawel Chojnacki2017-12-121-6/+10
| * | move call_measurement_enabled? method to the bottom of the filePawel Chojnacki2017-12-121-11/+11
| * | Use AtomicFixNum to implement CAS isolated cache update.Pawel Chojnacki2017-12-121-10/+7