Commit Graph

152 Commits

Author SHA1 Message Date
Konstantin Haase
ea23fd3b7e add stackprof 2015-05-11 17:13:21 +02:00
carlad
8f6083117c add async method to send exception error to sentry
add ErrorHandling class, refactor spec

correct the raven config class

correct the raven test

add a fake method for getting an exception

require error_handling

add new TestError class to test exceptions

add correct error class to test

add rescue block to raven send

make method a class method and add a test Travis.config.dns

add error the repos to test error

remove carla method in repos

add a fake error in repos

delete carla method
2015-02-13 16:16:45 +01:00
Konstantin Haase
df64ee29c8 Merge branch 'master' into rkh-v3
Conflicts:
	Gemfile
	Gemfile.lock
	lib/travis/api/app.rb
2015-01-21 16:52:21 +01:00
Konstantin Haase
c4806450aa get v3 to a working and tested state 2015-01-21 16:38:25 +01:00
Konstantin Haase
016afceeff only run Skylight for 20% of the dynos (rounding up if there are less than five) 2015-01-19 14:00:00 +01:00
Konstantin Haase
5c6fe06dfd Revert "Revert "instrument services""
This reverts commit 6681d160c1.
2015-01-14 19:41:47 +01:00
Konstantin Haase
6681d160c1 Revert "instrument services"
This reverts commit 327da14def.
2015-01-14 17:39:59 +01:00
Konstantin Haase
327da14def instrument services 2015-01-14 17:22:10 +01:00
Konstantin Haase
7d5d6b578c instrument access token 2015-01-14 17:00:16 +01:00
Konstantin Haase
81b0019f14 move skylight up 2015-01-14 16:52:56 +01:00
Konstantin Haase
784ca8479f fix require 2015-01-14 16:18:24 +01:00
Konstantin Haase
decf338a38 automated middleware instrumentation 2015-01-14 16:15:03 +01:00
Konstantin Haase
690c598205 remove obsolete file 2015-01-14 13:43:55 +01:00
Konstantin Haase
ea4a1c5bc4 use skylight without their sinatra code 2015-01-14 13:41:59 +01:00
Konstantin Haase
396a0f756c add conditional skylight tracking 2015-01-14 12:33:23 +01:00
Konstantin Haase
a65792ee49 start working on API v3 2015-01-13 15:22:20 +01:00
Konstantin Haase
14623ed088 Revert "Revert "track and enforce user-agent""
This reverts commit 2227d0042f.
2014-10-28 11:10:25 +01:00
Hiro Asari
2227d0042f Revert "track and enforce user-agent" 2014-10-27 18:51:32 -04:00
Konstantin Haase
07fff5a7be track and enforce user-agent 2014-10-27 19:21:23 +01:00
Sven Fuchs
48664d6263 use Travis::Metrics.setup 2014-10-12 15:15:26 +02:00
Sven Fuchs
4a0bdaafe6 make touching /tmp/app-initialized depend on heroku env var 2014-10-07 16:47:10 +02:00
Sven Fuchs
be719b1253 use http_x_script_name header if given 2014-10-07 16:47:10 +02:00
Sven Fuchs
bda2797f0e bump core and support. Travis::Metrics.setup 2014-10-07 16:47:09 +02:00
Sven Fuchs
1080bee23b do not include Raven::Rack unless configured 2014-10-07 16:46:30 +02:00
Sven Fuchs
7eebcff341 check for sentry.dsn 2014-10-07 16:46:30 +02:00
Piotr Sarnacki
d7c6edec18 Bring back ssh key endpoint, but make it configurable 2014-07-29 03:02:54 +02:00
Piotr Sarnacki
cbb195eb79 Revert "Revert "Serve CORS from app""
This reverts commit 8694cb4b92.
2014-06-20 12:57:36 +02:00
Hiro Asari
4410d3f999 Merge pull request #120 from travis-ci/ps-env-vars-in-settings
Add settings endpoint for env_vars
2014-06-18 11:45:02 -04:00
Piotr Sarnacki
8694cb4b92 Revert "Serve CORS from app"
This reverts commit 7f66d4bce9.
2014-06-18 14:59:33 +02:00
Hiro Asari
6d3a65b541 Merge branch 'master' into ps-env-vars-in-settings
Conflicts:
	Gemfile.lock
2014-06-18 08:38:49 -04:00
Piotr Sarnacki
7f66d4bce9 Serve CORS from app 2014-06-18 12:00:00 +02:00
Piotr Sarnacki
3ef8fab3c6 Add settings endpoint for env_vars 2014-05-23 13:42:22 +02:00
Mathias Meyer
c240daa760 Enable async in the API. 2014-04-24 11:36:35 +02:00
Mathias Meyer
74761b439e Remove response inspector. Enable monitoring on staging. 2014-04-24 10:14:21 +02:00
Mathias Meyer
fe88881dba Use git rack-cache, less verbose. 2014-04-23 18:06:05 +02:00
Mathias Meyer
879d531bdc Put inspect before rack cache. 2014-04-23 17:31:58 +02:00
Mathias Meyer
7790f59b81 Debug nil responses. 2014-04-23 17:24:50 +02:00
Mathias Meyer
5623316889 Output body. 2014-04-23 14:05:21 +02:00
Mathias Meyer
cb83aa4626 Output response on Librato error. 2014-04-23 13:59:00 +02:00
Mathias Meyer
d6963c1325 Prefix error message. 2014-04-23 13:44:00 +02:00
Mathias Meyer
b83dc1c631 Actually remove prefix. 2014-04-23 13:31:53 +02:00
Mathias Meyer
5542c6f3ff Add error handler, remove prefix. 2014-04-23 13:28:23 +02:00
Mathias Meyer
3566b47d23 Require correct file. 2014-04-23 12:58:10 +02:00
Mathias Meyer
9bdaf9dc24 Require librato exporter. 2014-04-23 12:54:14 +02:00
Mathias Meyer
c8b2b15f56 Simplify Librato setup.
Moves monitoring related setup to its own method.
2014-04-18 15:54:34 +02:00
Mathias Meyer
d0818c5f1c Enable direct librato export for metriks. 2014-04-18 15:47:48 +02:00
Piotr Sarnacki
360881a888 Remove ssh_keys endpoint
SshKeys will make sense only on Travis CI Pro
2014-04-15 11:14:11 +02:00
Piotr Sarnacki
f107d4676e Params in POST and PATCH requests should be fetched from request body
This also adds missing specs for ssh_keys endpoint
2014-04-10 14:07:20 +02:00
Piotr Sarnacki
e9cdef1c9b Add /settings/ssh_keys API 2014-04-01 13:05:25 +02:00
Piotr Sarnacki
1b524071f4 Allow to handle settings collections 2014-04-01 12:00:06 +02:00