Ben Kochie
86cbef4df4
Add unit to latency metrics.
...
Add `seconds` unit to latency metrics based on uptream naming
convention[0].
[0]: https://prometheus.io/docs/practices/naming/#metric-names
2017-07-12 14:48:46 +02:00
Paul Charlton
cb3b4a15e6
Support multiple Redis instances based on queue type
2017-07-11 03:35:47 +00:00
Stan Hu
804b61eb7a
Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb
2017-07-04 23:22:59 -07:00
Pawel Chojnacki
0edc1ef675
Use key? instead of has_key? method
2017-06-07 14:37:32 +02:00
Pawel Chojnacki
d26573c6e3
Make PrometheusTextFormat return proper output terminated with '\n'
...
remove file dangling after rebase
2017-06-02 19:48:39 +02:00
Pawel Chojnacki
7b75004d60
Add missing trailing newlines
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
b668aaf426
Split the metrics implementation to separate modules for Influx and Prometheus
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
ae8f7666e5
Add prometheus text formatter
...
+ rename controler method to #index from #metrics
+ remove assertion from nullMetric
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
c134a72cdb
Move Prometheus presentation logic to PrometheusText
...
+ 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
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
a0497a7bc0
Move helpers to spec file, use const's instead of helper methods
2017-05-25 21:59:57 +02:00
Pawel Chojnacki
6ced4d138e
Fix transient CI errors by increasing command execution timeouts from 1s to 30s
...
+ actually make local tests correctly detect wether 'timeout' or 'gtimeout' is available
2017-05-17 16:22:47 +02:00
Paweł Chojnacki
c3e43c9ba3
Add /-/readiness /-/liveness and /-/health_metrics endpoints to track application readiness
2017-04-07 10:27:15 +00:00