Piotr Sarnacki
|
94922cd625
|
Start new relic manually
|
2013-09-02 12:29:13 +02:00 |
|
Piotr Sarnacki
|
0c3e12dfa3
|
Revert "Disable new relic"
This reverts commit 6412a07ad1 .
|
2013-09-02 11:54:00 +02:00 |
|
Piotr Sarnacki
|
97958a4ce4
|
Try nginx
|
2013-09-02 09:52:26 +02:00 |
|
Piotr Sarnacki
|
6412a07ad1
|
Disable new relic
|
2013-09-02 09:51:45 +02:00 |
|
Mathias Meyer
|
9d26844eaa
|
Add tests for /uptime.
|
2013-08-26 17:29:10 +02:00 |
|
Mathias Meyer
|
618241a458
|
Add an uptime endpoint for Pingdom.
Sends a simple database query to see if we can still connect
to the database. Should help us detect issues like yesterday's
EC2 issues earlier.
|
2013-08-26 15:30:07 +02:00 |
|
Konstantin Haase
|
c7c33ed2aa
|
also treat empty content type as no content type
|
2013-08-23 17:39:47 +02:00 |
|
Konstantin Haase
|
60d37634b2
|
handle missing content-type
|
2013-08-23 17:10:51 +02:00 |
|
Konstantin Haase
|
e1bcd8d2b1
|
use timer
|
2013-08-23 16:59:25 +02:00 |
|
Konstantin Haase
|
d7d6ffc4da
|
meter content-type
|
2013-08-23 16:53:49 +02:00 |
|
Mathias Meyer
|
d141256671
|
Revert my puny changes for now.
Will be fixed in travis-web.
|
2013-08-22 15:21:09 +02:00 |
|
Mathias Meyer
|
8bde2ddb10
|
blank
|
2013-08-22 15:05:45 +02:00 |
|
Mathias Meyer
|
7fb90f3975
|
end end
|
2013-08-22 15:02:39 +02:00 |
|
Mathias Meyer
|
c711002577
|
Only return empty builds hash when there are no ids present.
|
2013-08-22 14:59:19 +02:00 |
|
Mathias Meyer
|
3a90f08d3b
|
Disable the /builds endpoint for now.
|
2013-08-22 14:49:24 +02:00 |
|
Piotr Sarnacki
|
37ca20b61c
|
Measure cancel request on the beginning of the request
|
2013-08-21 11:57:00 +02:00 |
|
Piotr Sarnacki
|
526129b5be
|
Add more metriks (cancel build/job and restart build/job)
|
2013-08-21 11:38:29 +02:00 |
|
Piotr Sarnacki
|
f6f8cd9bff
|
Merge branch 'ps-cancel'
|
2013-08-14 11:04:14 +02:00 |
|
Piotr Sarnacki
|
f19de9d134
|
Implement jobs/:id/cancel and builds/:id/cancel endpoints
|
2013-08-08 14:25:20 +02:00 |
|
Henrik Hodne
|
a87b4238b4
|
Remove call to Travis::Features.start
This was deprecated in
travis-ci/travis-core@53ab3c39d8.
|
2013-08-05 15:13:28 -07:00 |
|
Piotr Sarnacki
|
e093fde18c
|
Return error with application/json content type by default
|
2013-08-05 12:10:02 +02:00 |
|
Konstantin Haase
|
1c149bcdb4
|
use client_domain in config
|
2013-08-03 14:36:42 +02:00 |
|
Piotr Sarnacki
|
207a6e3e04
|
Explicitly use self when using info in Authorization
|
2013-07-27 01:42:14 +02:00 |
|
Piotr Sarnacki
|
c4ebb3d922
|
Merge branch 'rename-fixes'
Conflicts:
Gemfile.lock
lib/travis/api/app/endpoint.rb
|
2013-07-23 17:08:17 +02:00 |
|
Piotr Sarnacki
|
c194f25a24
|
Set json content type only when content type is not set
|
2013-07-16 19:56:53 +02:00 |
|
Piotr Sarnacki
|
8e1a855812
|
Don't set content type to JSON by default
|
2013-07-16 19:30:16 +02:00 |
|
Konstantin Haase
|
04ea79ceec
|
fix time parsing
|
2013-07-11 18:31:29 +02:00 |
|
Konstantin Haase
|
40acdfba4f
|
Revert "also support X-Request-Start"
This reverts commit 63b4ac3338 .
|
2013-07-11 18:28:44 +02:00 |
|
Konstantin Haase
|
63b4ac3338
|
also support X-Request-Start
|
2013-07-11 18:22:52 +02:00 |
|
Konstantin Haase
|
03d124d1b7
|
metrics for request queue
|
2013-07-11 18:13:23 +02:00 |
|
Konstantin Haase
|
8707f3b357
|
set X-Middleware-Start for NewRelic
|
2013-07-11 17:49:21 +02:00 |
|
Konstantin Haase
|
2c361e4292
|
drop rack-timeout
|
2013-07-11 17:27:32 +02:00 |
|
Konstantin Haase
|
60af7546a2
|
add rack-timeout
|
2013-07-11 16:37:02 +02:00 |
|
Piotr Sarnacki
|
3508f25bdf
|
Nullify logins and rename repos owner when updating/creating user
|
2013-07-10 01:38:10 +02:00 |
|
Piotr Sarnacki
|
b6a351c766
|
Convert params['ids'] to array
Services like find_builds can accept :ids as a param, but it needs to be
an array, string will be passed to find and converted into integer.
|
2013-07-09 15:18:31 +02:00 |
|
Mathias Meyer
|
e6b61f92f4
|
Return 420 to a blacklisted client.
|
2013-07-09 11:37:37 +02:00 |
|
Mathias Meyer
|
a46488078f
|
Add rack-attack, block one client who's hammering us.
|
2013-07-09 11:02:38 +02:00 |
|
Mathias Meyer
|
ecb60f0050
|
Extract metric from endpoint and pattern.
|
2013-06-26 15:06:54 +02:00 |
|
Mathias Meyer
|
d4130312c2
|
Add a global timer for all requests.
|
2013-06-26 13:47:38 +02:00 |
|
Mathias Meyer
|
ba97ebcfff
|
Use accept_version.
|
2013-06-10 14:58:38 +02:00 |
|
Mathias Meyer
|
1ba02d8e2b
|
Track API version.
|
2013-06-10 14:50:36 +02:00 |
|
Mathias Meyer
|
49015050c1
|
Merge branch 'master' into rkh-metrics
Conflicts:
Gemfile.lock
|
2013-06-10 08:23:42 +02:00 |
|
Henrik Hodne
|
277f0c2f72
|
Whitelist travis-lite for authentication
|
2013-06-04 21:57:09 +02:00 |
|
Mathias Meyer
|
5971946d35
|
Use our own middlewares explicitly.
|
2013-05-18 11:11:43 +02:00 |
|
Mathias Meyer
|
63d2a69b7d
|
Only track endpoint if an endpoint is set.
For compatibility with the V1 API layer.
|
2013-05-09 14:18:59 +02:00 |
|
Mathias Meyer
|
78608b81ae
|
Lmao if you Object#method.
|
2013-05-09 14:13:33 +02:00 |
|
Mathias Meyer
|
729ec6e7fa
|
Require 'metriks'.
|
2013-05-09 14:04:25 +02:00 |
|
Mathias Meyer
|
c3249a498c
|
Fix Metriks reference.
|
2013-05-09 13:44:08 +02:00 |
|
Mathias Meyer
|
0cd89de38a
|
Merge branch 'master' into rkh-metrics
Conflicts:
Gemfile.lock
|
2013-05-09 13:37:28 +02:00 |
|
Piotr Sarnacki
|
d276cd5b32
|
Return Oauth headers even if none scope was matched
If an endpoint specifies more than one scope and none of the scopes from
access token matches, return oauth headers for the first of the scopes
|
2013-05-08 14:11:03 +02:00 |
|