Jacopo
181cd299f9
Adds Rubocop rule for line break after guard clause
...
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Pawel Chojnacki
15b7b9ec41
Add rescue_from(ActionController::UnknownFormat) in Application Controller
2017-06-20 15:53:23 +02:00
Pawel Chojnacki
6e4d533421
Move Prometheus service to project model
2017-06-16 20:48:34 +02:00
Pawel Chojnacki
a7e1205219
Use explicit instance of prometheus service and add access methods to it
2017-06-07 02:38:52 +02:00
Pawel Chojnacki
c7a1da800f
Explicitly require format.json in prometheus_controller
...
+ add missing prometheus_controller tests!
2017-06-06 14:40:03 +02:00
Pawel Chojnacki
608186d54b
Add per deployment additional metrics
2017-05-25 17:39:43 +02:00
Pawel Chojnacki
f38779c6f5
Respond with 404 when metrics are not enabled or deployment_metrics is not implemented
2017-05-12 18:16:22 +02:00
Pawel Chojnacki
4f824d2aec
Custom queries for prometheus
...
- Tests for prometheus queries
- fix rubocop warnings
- Remove unused method. Add more queries to deployment queries.
- Wrap BaseQuery in module hierarchy
Renname Prometheus class to PrometheusClient
2017-05-11 23:07:12 +02:00
Oswaldo Ferreira
368bf99eb7
Remove unnecessary user hash being passed to DeploymentSerializer
2017-05-10 15:21:31 -03:00
Oswaldo Ferreira
9d08dddfdb
Ensure all Serializers receive current_user
instead user
2017-05-10 13:30:54 -03:00
Fatih Acet
0151325dac
Merge request widget redesign
2017-05-09 04:15:34 +00:00
Pawel Chojnacki
33f7c40f3f
use represent_concise instead of separate entity
2017-04-24 22:34:36 +02:00
Pawel Chojnacki
e057ad975c
DeploymentsSerializer can serialize arrays properly
2017-04-24 21:34:21 +02:00
Pawel Chojnacki
d3e794e26f
Optionally filter by deployment time
2017-03-28 14:56:30 +02:00
Pawel Chojnacki
7320387343
Use DeploymentSerializer to create deployment json
2017-03-28 12:52:13 +02:00
Pawel Chojnacki
601f50c642
Add endpoint that returns a list of deployments that happened within last 8.hours
...
add index created_at
2017-03-28 12:06:47 +02:00