nsa 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nsa/version.rb +1 -1
- data/nsa.gemspec +1 -1
- data/tags +63 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b92d60fc72c575b7059744fc7ad297887969b99
|
4
|
+
data.tar.gz: a5a1297fbde37d29c42777e37d4a8c0591158d4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2376bdba06ee689371a168b5886a50d816a4a9b33fb9cb79135f9c434f009d00cb30decb234008a3b9f7df47e4cb5e0febeddf86a7c3ce721729326964116de7
|
7
|
+
data.tar.gz: 3e6bb3e57fa4f39e89ec689e17f4ae759a0dd72227c12fcce4ff0f38992a5e31f6d6072864ed7901ec39bf4b2ee9b9e4233d2604ab9cb3a137d7b0ab83f6ebd4
|
data/lib/nsa/version.rb
CHANGED
data/nsa.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "activesupport", "~> 4.2.0"
|
22
|
-
spec.add_dependency "sidekiq", "
|
22
|
+
spec.add_dependency "sidekiq", ">= 3.5.0"
|
23
23
|
spec.add_dependency "statsd-ruby", "~> 1.2.0"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.10"
|
data/tags
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
2
|
+
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
3
|
+
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
4
|
+
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
5
|
+
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
6
|
+
!_TAG_PROGRAM_VERSION 5.8 //
|
7
|
+
ActionController lib/nsa/collectors/action_controller.rb /^ module ActionController$/;" m class:NSA.Collectors
|
8
|
+
ActiveRecord lib/nsa/collectors/active_record.rb /^ module ActiveRecord$/;" m class:NSA.Collectors
|
9
|
+
ActiveSupportCache lib/nsa/collectors/active_support_cache.rb /^ module ActiveSupportCache$/;" m class:NSA.Collectors
|
10
|
+
CACHE_TYPES lib/nsa/collectors/active_support_cache.rb /^ CACHE_TYPES = {$/;" c
|
11
|
+
COLLECTOR_TYPES lib/nsa/statsd_informant.rb /^ COLLECTOR_TYPES = ::Hash.new(::NSA::Collectors::Null).merge({$/;" c
|
12
|
+
Collectors lib/nsa/collectors/action_controller.rb /^ module Collectors$/;" m class:NSA
|
13
|
+
Collectors lib/nsa/collectors/active_record.rb /^ module Collectors$/;" m class:NSA
|
14
|
+
Collectors lib/nsa/collectors/active_support_cache.rb /^ module Collectors$/;" m class:NSA
|
15
|
+
Collectors lib/nsa/collectors/null.rb /^ module Collectors$/;" m class:NSA
|
16
|
+
Collectors lib/nsa/collectors/sidekiq.rb /^ module Collectors$/;" m class:NSA
|
17
|
+
EMPTY_MATCH_RESULT lib/nsa/collectors/active_record.rb /^ EMPTY_MATCH_RESULT = []$/;" c
|
18
|
+
EXPECTED_RESPONDABLE_METHODS lib/nsa/statsd/subscriber.rb /^ EXPECTED_RESPONDABLE_METHODS = %i( count decrement gauge increment set time timing ).freeze$/;" c
|
19
|
+
LoadError lib/nsa/collectors/sidekiq.rb /^ rescue ::LoadError => exception$/;" c
|
20
|
+
MATCHERS lib/nsa/collectors/active_record.rb /^ MATCHERS = [$/;" c
|
21
|
+
NSA lib/nsa.rb /^module NSA$/;" m
|
22
|
+
NSA lib/nsa/collectors/action_controller.rb /^module NSA$/;" m
|
23
|
+
NSA lib/nsa/collectors/active_record.rb /^module NSA$/;" m
|
24
|
+
NSA lib/nsa/collectors/active_support_cache.rb /^module NSA$/;" m
|
25
|
+
NSA lib/nsa/collectors/null.rb /^module NSA$/;" m
|
26
|
+
NSA lib/nsa/collectors/sidekiq.rb /^module NSA$/;" m
|
27
|
+
NSA lib/nsa/statsd/publisher.rb /^module NSA$/;" m
|
28
|
+
NSA lib/nsa/statsd/subscriber.rb /^module NSA$/;" m
|
29
|
+
NSA lib/nsa/statsd_informant.rb /^module NSA$/;" m
|
30
|
+
NSA lib/nsa/version.rb /^module NSA$/;" m
|
31
|
+
Null lib/nsa/collectors/null.rb /^ module Null$/;" m class:NSA.Collectors
|
32
|
+
Publisher lib/nsa/statsd/publisher.rb /^ module Publisher$/;" m class:NSA.Statsd
|
33
|
+
Sidekiq lib/nsa/collectors/sidekiq.rb /^ class Sidekiq$/;" c class:NSA.Collectors
|
34
|
+
Statsd lib/nsa/statsd/publisher.rb /^ module Statsd$/;" m class:NSA
|
35
|
+
Statsd lib/nsa/statsd/subscriber.rb /^ module Statsd$/;" m class:NSA
|
36
|
+
StatsdInformant lib/nsa/statsd_informant.rb /^ module StatsdInformant$/;" m class:NSA
|
37
|
+
Subscriber lib/nsa/statsd/subscriber.rb /^ module Subscriber$/;" m class:NSA.Statsd
|
38
|
+
VERSION lib/nsa/version.rb /^ VERSION = "0.1.4"$/;" c
|
39
|
+
__send_event_to_statsd lib/nsa/statsd/subscriber.rb /^ def __send_event_to_statsd(backend, name, start, finish, id, payload)$/;" f class:NSA.Statsd.Subscriber
|
40
|
+
__statsd_publish lib/nsa/statsd/publisher.rb /^ def __statsd_publish(stat_type, key, value = nil, sample_rate = nil, &block)$/;" f class:NSA.Statsd.Publisher
|
41
|
+
backend_valid? lib/nsa/statsd/subscriber.rb /^ def backend_valid?(backend)$/;" f class:NSA.Statsd.Subscriber
|
42
|
+
call lib/nsa/collectors/sidekiq.rb /^ def call(worker, message, queue_name)$/;" f class:NSA.Collectors.Sidekiq
|
43
|
+
collect lib/nsa/collectors/action_controller.rb /^ def self.collect(key_prefix)$/;" F class:NSA.Collectors.ActionController
|
44
|
+
collect lib/nsa/collectors/active_record.rb /^ def self.collect(key_prefix)$/;" F class:NSA.Collectors.ActiveRecord
|
45
|
+
collect lib/nsa/collectors/active_support_cache.rb /^ def self.collect(key_prefix)$/;" F class:NSA.Collectors.ActiveSupportCache
|
46
|
+
collect lib/nsa/collectors/null.rb /^ def self.collect(*_)$/;" F class:NSA.Collectors.Null
|
47
|
+
collect lib/nsa/collectors/sidekiq.rb /^ def self.collect(key_prefix)$/;" F class:NSA.Collectors.Sidekiq
|
48
|
+
collect lib/nsa/statsd_informant.rb /^ def self.collect(collector, key_prefix)$/;" F class:NSA.StatsdInformant
|
49
|
+
inform_statsd lib/nsa.rb /^ def self.inform_statsd(backend)$/;" F class:NSA
|
50
|
+
initialize lib/nsa/collectors/sidekiq.rb /^ def initialize(key_prefix)$/;" f class:NSA.Collectors.Sidekiq
|
51
|
+
listen lib/nsa/statsd_informant.rb /^ def self.listen(backend)$/;" F class:NSA.StatsdInformant
|
52
|
+
make_key lib/nsa/collectors/sidekiq.rb /^ def make_key(*args)$/;" f class:NSA.Collectors.Sidekiq
|
53
|
+
match_query lib/nsa/collectors/active_record.rb /^ def self.match_query(sql)$/;" F class:NSA.Collectors
|
54
|
+
publish_overall_stats lib/nsa/collectors/sidekiq.rb /^ def publish_overall_stats$/;" f class:NSA.Collectors.Sidekiq
|
55
|
+
publish_queue_size_and_latency lib/nsa/collectors/sidekiq.rb /^ def publish_queue_size_and_latency(queue_name)$/;" f class:NSA.Collectors.Sidekiq
|
56
|
+
statsd_count lib/nsa/statsd/publisher.rb /^ def statsd_count(key, value = 1, sample_rate = nil)$/;" f class:NSA.Statsd.Publisher
|
57
|
+
statsd_decrement lib/nsa/statsd/publisher.rb /^ def statsd_decrement(key, sample_rate = nil)$/;" f class:NSA.Statsd.Publisher
|
58
|
+
statsd_gauge lib/nsa/statsd/publisher.rb /^ def statsd_gauge(key, value = 1, sample_rate = nil)$/;" f class:NSA.Statsd.Publisher
|
59
|
+
statsd_increment lib/nsa/statsd/publisher.rb /^ def statsd_increment(key, sample_rate = nil)$/;" f class:NSA.Statsd.Publisher
|
60
|
+
statsd_set lib/nsa/statsd/publisher.rb /^ def statsd_set(key, value = 1, sample_rate = nil)$/;" f class:NSA.Statsd.Publisher
|
61
|
+
statsd_subscribe lib/nsa/statsd/subscriber.rb /^ def statsd_subscribe(backend)$/;" f class:NSA.Statsd.Subscriber
|
62
|
+
statsd_time lib/nsa/statsd/publisher.rb /^ def statsd_time(key, sample_rate = nil, &block)$/;" f class:NSA.Statsd.Publisher
|
63
|
+
statsd_timing lib/nsa/statsd/publisher.rb /^ def statsd_timing(key, value = 1, sample_rate = nil)$/;" f class:NSA.Statsd.Publisher
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nsa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: sidekiq
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 3.5.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 3.5.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- lib/nsa/statsd_informant.rb
|
149
149
|
- lib/nsa/version.rb
|
150
150
|
- nsa.gemspec
|
151
|
+
- tags
|
151
152
|
homepage: https://www.github.com/localshred/nsa
|
152
153
|
licenses: []
|
153
154
|
metadata: {}
|