summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-12-07 17:47:23 +0100
committerPawel Chojnacki <pawel@chojnacki.ws>2017-12-07 17:47:23 +0100
commitee22a47d629fb13a52100921761f833acd80dbd9 (patch)
tree3cacec44085190334e2a7eef67af9f2125340344 /app/services
parent83e623f65cc6c5cc61dd5431cf028cfb2a515657 (diff)
downloadgitlab-ce-ee22a47d629fb13a52100921761f833acd80dbd9.tar.gz
Update prometheus-client-mmap gem to highly optimized version
+ change string concatenation to help with GC pressure. + fix metric producing incompatible label sets
Diffstat (limited to 'app/services')
-rw-r--r--app/services/metrics_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/metrics_service.rb b/app/services/metrics_service.rb
index 6b3939aeba5..236e9fe8c44 100644
--- a/app/services/metrics_service.rb
+++ b/app/services/metrics_service.rb
@@ -20,7 +20,7 @@ class MetricsService
end
def metrics_text
- "#{health_metrics_text}#{prometheus_metrics_text}"
+ prometheus_metrics_text.concat(health_metrics_text)
end
private