summaryrefslogtreecommitdiff
path: root/lib/gitlab/metrics
Commit message (Expand)AuthorAgeFilesLines
* 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
| * | Implemente measurement enabled cache using AtomicReferencePawel Chojnacki2017-12-121-18/+13
| * | Set cache expire only once the cache is filled,Pawel Chojnacki2017-12-121-1/+4
| * | Implement simple in memory cache that expires after 5 minutesPawel Chojnacki2017-12-121-7/+19
| * | Cache feature check for 5 minutes for MethodCall instrumentation togglePawel Chojnacki2017-12-121-1/+3
| |/
| * Remove RubySampler#sample_objects for performance as wellStan Hu2017-12-111-27/+0
| * Remove allocation tracking code from InfluxDB sampler for performancesh-remove-allocation-tracking-influxdbStan Hu2017-12-101-24/+0
| * Update prometheus-client-mmap gem to highly optimized versionPawel Chojnacki2017-12-071-3/+3
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-301-21/+12
|\ \ | |/
| * Use feature flag instead of application settigns to control if method calls s...pawel/update_prometheus_gem_to_well_tested_versionPawel Chojnacki2017-11-231-3/+3
| * Use only real duration to measure method call performance via PrometheusPawel Chojnacki2017-11-231-21/+6
| * check method timing threshold when observing method performancePawel Chojnacki2017-11-231-2/+2
| * Reenable prometheus metricsPawel Chojnacki2017-11-231-3/+3
| * Move prometheus middle ware to prometheus initialized.Pawel Chojnacki2017-11-231-2/+8
| * Force disable Prometheus metricsPawel Chojnacki2017-11-221-3/+3
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-222-0/+2
|\ \ | |/
| * Adds Rubocop rule for line break after guard clauseJacopo2017-11-162-0/+2
* | Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-221-2/+2
* | Use StrongMemoize and enable/disable cops properlyLin Jen-Shin2017-11-182-8/+11
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-1719-350/+669
|\ \ | |/
| * Revert "add metrics tagging to the sidekiq middleware"39958-updatemergerequestsworker-are-failing-on-metric-taggingmicael.bergeron2017-11-081-2/+0
| * Make BackgroundTransaction#labels publicPawel Chojnacki2017-11-071-2/+0
| * Merge branch 'pawel/metrics-to-prometheus-33643' into 'master'Grzegorz Bizon2017-11-0619-348/+671
| |\
| | * Add missing mutex guard to method call metricspawel/metrics-to-prometheus-33643Pawel Chojnacki2017-11-031-12/+21
| | * Make subscriber tests pass, after refactoring metricsPawel Chojnacki2017-11-022-4/+4
| | * Use Mutex to guard metrics creation in transaction. Switch action view to thr...Pawel Chojnacki2017-11-022-28/+49
| | * move metrics for ActiveRecord, RailsCache and queue duration to instance vari...Pawel Chojnacki2017-11-022-30/+30
| | * rename BackgroundMigration to SidekiqMigrationPawel Chojnacki2017-11-023-2/+2
| | * Fix sidekiq middleware testsPawel Chojnacki2017-11-023-6/+5
| | * Remove unnecessary namespace usePawel Chojnacki2017-11-022-7/+7
| | * Tests for Web transaction and remove simple transactonPawel Chojnacki2017-11-025-264/+33
| | * Web/Sidekiq transaction splitPawel Chojnacki2017-11-023-1/+262
| | * Move labels to be initialized in constructorPawel Chojnacki2017-11-021-5/+2
| | * Avoid using Send (but is it better?) + small rubocop cleanupPawel Chojnacki2017-11-021-1/+1
| | * Cleanup metrics names and removing unnecessary cache read totalPawel Chojnacki2017-11-021-15/+5
| | * Adjust test to changed metrics methods.Pawel Chojnacki2017-11-021-1/+1
| | * Add info about prometheus bucketsPawel Chojnacki2017-11-022-7/+9
| | * Guard metrics creation with a mutexPawel Chojnacki2017-11-021-7/+23