summaryrefslogtreecommitdiff
path: root/app/controllers/metrics_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove the need to use health check tokenPawel Chojnacki2017-07-051-2/+2
| | | | | in favor of whitelist that will be used to control the access to monitoring resources
* Move Prometheus presentation logic to PrometheusTextPawel Chojnacki2017-06-021-4/+2
| | | | | | | | + 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
* Make login_counter instance variable instead of class one.Pawel Chojnacki2017-06-021-1/+3
| | | | | + remove unecessarey require + fix small formatiing issues
* Move most of MetricsController logic to MetricsServicePawel Chojnacki2017-06-021-35/+6
|
* Use interpolation instead of concatenationPawel Chojnacki2017-06-021-4/+4
|
* move check if metrics are enabled to before actionPawel Chojnacki2017-06-021-2/+6
|
* Correctly handle temporary folder for testing multiproces metricsPawel Chojnacki2017-06-021-1/+1
|
* Use only ENV for metrics folder locationPawel Chojnacki2017-06-021-2/+6
|
* Bring back the tokenPawel Chojnacki2017-06-021-0/+1
|
* Split metrics from health controller into metrics controllerPawel Chojnacki2017-06-021-0/+41