summaryrefslogtreecommitdiff
path: root/app/services/metrics_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot2021-07-201-1/+1
|
* Enable frozen string in apps/uploaders/*.rbgfyoung2018-07-161-0/+2
| | | | Partially addresses #47424.
* Remove healthchecks from prometheus endpointAndrew Newdigate2018-07-121-20/+1
|
* Gitaly metrics check for read/writeabilityZeger-Jan van de Weg2018-06-271-1/+2
| | | | | | | | | | | | | | Prior to this change, health checks checked for writeability of the NFS shards. Given we're moving away from that, this patch extends the checks for Gitaly to check for read and writeability. Potentially some dashboards will break, as over time these metrics will no longer appear as Prometheus doesn't get the data anymore. Observability in the circuit breaker will be reduced, but its not expected to be turned on and the circuit breaker is being removed soon too. Closes https://gitlab.com/gitlab-org/gitaly/issues/1218
* Update prometheus-client-mmap gem to highly optimized versionPawel Chojnacki2017-12-071-1/+1
| | | | | + change string concatenation to help with GC pressure. + fix metric producing incompatible label sets
* Remove Filesystem check metrics that use too much CPU to handle requestspawel/disable_nfs_metrics_checks_39730Pawel Chojnacki2017-11-021-2/+1
|
* Update Prometheus gem to version that explicitly calls `munmap`Paweł Chojnacki2017-07-191-1/+1
|
* Support multiple Redis instances based on queue typePaul Charlton2017-07-111-1/+4
|
* Make PrometheusTextFormat return proper output terminated with '\n'Pawel Chojnacki2017-06-021-1/+1
| | | | remove file dangling after rebase
* Split the metrics implementation to separate modules for Influx and PrometheusPawel Chojnacki2017-06-021-10/+0
|
* Add prometheus text formatterPawel Chojnacki2017-06-021-2/+2
| | | | | + rename controler method to #index from #metrics + remove assertion from nullMetric
* Move Prometheus presentation logic to PrometheusTextPawel Chojnacki2017-06-021-5/+10
| | | | | | | | + Use NullMetrics to mock metrics when unused + Use method_missing in NullMetrics mocking + Update prometheus gem to version that correctly uses transitive dependencies + Ensure correct folders are used in Multiprocess prometheus client tests. + rename Sessions controller's metric
* Move most of MetricsController logic to MetricsServicePawel Chojnacki2017-06-021-0/+38