Module: Pigeon
- Defined in:
- lib/pigeon.rb,
lib/pigeon/core.rb,
lib/pigeon/http.rb,
lib/pigeon/statsd.rb,
lib/pigeon/version.rb
Defined Under Namespace
Modules: Http Classes: Client, Error, Statsd
Constant Summary collapse
- VALID_OPTIONS =
%w[environment request_timeout request_open_timeout ssl_verify volume_threshold error_threshold time_window sleep_window retryable retry_threshold monitoring monitoring_type].freeze
- VALID_CALLBACKS =
%w[CircuitBreakerOpen CircuitBreakerClose HttpSuccess HttpError RetrySuccess RetryFailure]
- DEFAULT_OPTIONS =
{ environment: 'default', request_name: 'pigeon_default', request_timeout: 60, request_open_timeout: 0, ssl_verify: true, volume_threshold: 10, error_threshold: 10, time_window: 10, sleep_window: 10, retryable: true, retry_threshold: 3, monitoring: false, monitoring_type: 'datadog' }
- DEFAULT_CALLBACKS =
{ CircuitBreakerOpen: nil, CircuitBreakerClose: nil, HttpSuccess: nil, HttpError: nil, RetrySuccess: nil, RetryFailure: nil }
- VERSION =
'0.1.6'