newrelic-cql 0.1.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/LICENSE +1 -1
- data/README.md +6 -2
- data/lib/newrelic-cql/instrumentation.rb +6 -5
- data/lib/newrelic-cql/version.rb +1 -1
- metadata +17 -11
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NWFmMzIwZjgzMGQzYTczMTViMjQ0ODUzMTMzYTcxY2VlZTQ2YzgyMA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OTJiZjA3YWEzZDJlMjFkZTI0YmM5MjU1MjBkN2M1YmQxNDIxMTY1Ng==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDI5NzYyY2ZiMjI2NDBjNDQ3NGQ5ZjYxYzkzODk4ZWY1ODdlZWI5YjEwYzg3
|
10
|
+
ZDgwMjMzOTUyOWU1OWEyMTlhZTM4MzAzNjljYThkYWM5ZTYxN2Q2M2JiMTY0
|
11
|
+
YWUyM2Q2YTY5NGIyZDRjZjFlMzRiZTBhYWZmMmEyNDU0MTdiM2Q=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Y2MwOGRmZjIxNDEwMDc0MzdlMThkZTllNTk1Zjc1MzllZDJjNWY1ZWZlMTZk
|
14
|
+
YTdiNGY0MzY5OWY0NDFhMDc5OGQyNGY4MTk0ODAyMzg1NzE5ZDk5NWU0M2Q0
|
15
|
+
NDZjNDdjNjFmNTU1MjdlMDJiYTZiNzU0MTUxZmVkN2M0NWE5ODE=
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# NewRelic for
|
1
|
+
# NewRelic for Cassandra ruby-driver
|
2
2
|
|
3
3
|
Unofficial [NewRelic](http://newrelic.com/) instrumentation for the
|
4
|
-
[
|
4
|
+
[DataStax Cassandra ruby-driver](https://github.com/datastax/ruby-driver) gem.
|
5
5
|
|
6
6
|
## Installation
|
7
7
|
|
@@ -17,6 +17,10 @@ Or install it yourself with:
|
|
17
17
|
|
18
18
|
$ gem install newrelic-cql
|
19
19
|
|
20
|
+
## Releases
|
21
|
+
* 0.2.0 Support for the [DataStax ruby-driver](https://github.com/datastax/ruby-driver) gem
|
22
|
+
* 0.1.0 Support for [cql-rb](https://github.com/iconara/cql-rb) gem
|
23
|
+
|
20
24
|
## Contributing
|
21
25
|
|
22
26
|
1. Fork it
|
@@ -2,23 +2,24 @@
|
|
2
2
|
require 'new_relic/agent'
|
3
3
|
|
4
4
|
DependencyDetection.defer do
|
5
|
-
named :
|
5
|
+
named :cassandra
|
6
6
|
|
7
7
|
depends_on do
|
8
|
-
defined?(::
|
8
|
+
defined?(::Cassandra::Session)
|
9
9
|
end
|
10
10
|
|
11
11
|
executes do
|
12
|
-
::NewRelic::Agent.logger.info 'Installing Cassandra
|
12
|
+
::NewRelic::Agent.logger.info 'Installing Cassandra ruby-driver instrumentation'
|
13
13
|
end
|
14
14
|
|
15
15
|
executes do
|
16
16
|
require 'new_relic/agent/datastores'
|
17
17
|
|
18
|
-
[::
|
18
|
+
[::Cassandra::Session].each do |klass|
|
19
19
|
NewRelic::Agent::Datastores.trace klass, :prepare, 'Cql'
|
20
|
-
NewRelic::Agent::Datastores.trace klass, :execute, 'Cql'
|
21
20
|
NewRelic::Agent::Datastores.trace klass, :batch, 'Cql'
|
21
|
+
NewRelic::Agent::Datastores.trace klass, :execute, 'Cql'
|
22
|
+
NewRelic::Agent::Datastores.trace klass, :execute_async, 'Cql'
|
22
23
|
end
|
23
24
|
end
|
24
25
|
end
|
data/lib/newrelic-cql/version.rb
CHANGED
metadata
CHANGED
@@ -1,32 +1,38 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-cql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Kyle VanderBeek
|
7
|
+
- Kyle VanderBeek, Mark Dimas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: newrelic_rpm
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.11'
|
20
|
+
- - ! '>='
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 3.11.0.283
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.11'
|
30
|
+
- - ! '>='
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 3.11.0.283
|
27
|
-
description: Unofficial New Relic instrumentation for
|
33
|
+
description: Unofficial New Relic instrumentation for DataStax Cassandra ruby-driver
|
28
34
|
email:
|
29
|
-
-
|
35
|
+
- mark@change.org
|
30
36
|
executables: []
|
31
37
|
extensions: []
|
32
38
|
extra_rdoc_files: []
|
@@ -46,18 +52,18 @@ require_paths:
|
|
46
52
|
- lib
|
47
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
54
|
requirements:
|
49
|
-
- -
|
55
|
+
- - ! '>='
|
50
56
|
- !ruby/object:Gem::Version
|
51
57
|
version: '0'
|
52
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
59
|
requirements:
|
54
|
-
- -
|
60
|
+
- - ! '>='
|
55
61
|
- !ruby/object:Gem::Version
|
56
62
|
version: '0'
|
57
63
|
requirements: []
|
58
64
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.4.
|
65
|
+
rubygems_version: 2.4.8
|
60
66
|
signing_key:
|
61
67
|
specification_version: 4
|
62
|
-
summary: Unofficial New Relic instrumentation for
|
68
|
+
summary: Unofficial New Relic instrumentation for DataStax Cassandra ruby-driver
|
63
69
|
test_files: []
|