Pawel Chojnacki
1c59ba67a5
Do not cleanup temp directory as this apparently causes silent rspec failures on linux in CI
2017-06-07 04:24:30 +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
ef9f23b797
Mark migration as requiring no downtime
...
+ Add spaces for four phases approach
+ fix InfluxDB rename
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
254830c1f9
Move most of MetricsController logic to MetricsService
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
62fe37e3f8
move check if metrics are enabled to before action
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
21561f3434
Correctly handle temporary folder for testing multiproces metrics
2017-06-02 19:45:58 +02:00
Pawel Chojnacki
0f4050430d
Split metrics from health controller into metrics controller
2017-06-02 19:45:58 +02:00