Module: Sqreen::Kit
- Defined in:
- lib/sqreen/kit.rb,
lib/sqreen/kit/version.rb,
lib/sqreen/kit/loggable.rb,
lib/sqreen/kit/http_client.rb,
lib/sqreen/kit/retry_policy.rb,
lib/sqreen/kit/configuration.rb,
lib/sqreen/kit/signals/actor.rb,
lib/sqreen/kit/signals/point.rb,
lib/sqreen/kit/signals/trace.rb,
lib/sqreen/kit/signals/metric.rb,
lib/sqreen/kit/signals/signal.rb,
lib/sqreen/kit/string_sanitizer.rb,
lib/sqreen/kit/signals/dto_helper.rb,
lib/sqreen/kit/signals/stack_trace.rb,
lib/sqreen/kit/signals/signals_client.rb,
lib/sqreen/kit/signals/batch_collector.rb,
lib/sqreen/kit/signals/signal_attributes.rb,
lib/sqreen/kit/signals/auth_signals_client.rb,
lib/sqreen/kit/signals/context/http_context.rb,
lib/sqreen/kit/http_client/authentication_error.rb,
lib/sqreen/kit/http_client/unexpected_status_error.rb
Defined Under Namespace
Modules: Loggable, Signals, StackTrace, StringSanitizer
Classes: Configuration, HttpClient, RetryPolicy
Class Method Summary
collapse
Class Method Details
.auth_signals_client ⇒ Object
.batch_collector ⇒ Object
.reset ⇒ Object
46
47
48
49
50
51
52
|
# File 'lib/sqreen/kit.rb', line 46
def reset
@auth_signals_client = nil
@signals_client = nil
@batch_collector = nil
@http_client = nil
@retry_policy = nil
end
|
.signals_client ⇒ Object
31
32
33
34
|
# File 'lib/sqreen/kit.rb', line 31
def signals_client
@signals_client ||=
Signals::SignalsClient.new(http_client)
end
|
.version ⇒ Object
10
11
12
|
# File 'lib/sqreen/kit/version.rb', line 10
def version
@version ||= Gem.loaded_specs['sqreen-kit'].version
end
|