appoptics_apm 4.10.0 → 4.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/.travis.yml +5 -5
- data/lib/appoptics_apm/sdk/custom_metrics.rb +2 -0
- data/lib/appoptics_apm/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 7e70295e3dc49a39e001776c90ae399d1c1ee522
|
|
4
|
+
data.tar.gz: bc03b3d467a18370ce889b6c66228172a41efd5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f9d957a9d608fd1c3e3499125c96784b9767485934666986c8ecc1ca6befe89d870eb67b087887d5e6caf274452522e52c70dd773bf624a3144c225334688fe8
|
|
7
|
+
data.tar.gz: 01e0625d7242ea1717d5264e65ab3b53df8f4e534e08ba7c67e6959a1e0478d81cdc2dcb6c08d7361008bdf78dbfd962879a59e0fd2ce3302d5c4e9e38e57d1a
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
|
@@ -14,7 +14,7 @@ rvm:
|
|
|
14
14
|
- 2.6.4
|
|
15
15
|
- 2.5.5
|
|
16
16
|
- 2.4.5
|
|
17
|
-
- 2.7.0-
|
|
17
|
+
- 2.7.0-preview2
|
|
18
18
|
# - ruby-head
|
|
19
19
|
# - jruby-9.0.5.0
|
|
20
20
|
|
|
@@ -34,7 +34,7 @@ matrix:
|
|
|
34
34
|
exclude:
|
|
35
35
|
- rvm: ruby-head
|
|
36
36
|
gemfile: gemfiles/rails42.gemfile
|
|
37
|
-
- rvm: 2.7.0-
|
|
37
|
+
- rvm: 2.7.0-preview2
|
|
38
38
|
gemfile: gemfiles/rails42.gemfile
|
|
39
39
|
- rvm: 2.6.4
|
|
40
40
|
gemfile: gemfiles/rails42.gemfile
|
|
@@ -43,9 +43,9 @@ matrix:
|
|
|
43
43
|
|
|
44
44
|
- rvm: ruby-head
|
|
45
45
|
env: DBTYPE=mysql
|
|
46
|
-
- rvm: 2.7.0-
|
|
46
|
+
- rvm: 2.7.0-preview2
|
|
47
47
|
env: DBTYPE=mysql
|
|
48
|
-
-
|
|
48
|
+
- rvm: 2.6.4
|
|
49
49
|
env: DBTYPE=mysql
|
|
50
50
|
- rvm: 2.5.5
|
|
51
51
|
env: DBTYPE=mysql
|
|
@@ -87,7 +87,7 @@ matrix:
|
|
|
87
87
|
env: DBTYPE=mysql2
|
|
88
88
|
allow_failures:
|
|
89
89
|
- rvm: ruby-head
|
|
90
|
-
- rvm: 2.7.0-
|
|
90
|
+
- rvm: 2.7.0-preview2
|
|
91
91
|
|
|
92
92
|
# FIXME: Figure out if this is still an issue when reviewing cassandra test setup
|
|
93
93
|
# Attempt Travis/Cassandra fix re: https://github.com/travis-ci/travis-ci/issues/1484
|
|
@@ -32,6 +32,7 @@ module AppOpticsAPM
|
|
|
32
32
|
# * true on success, false on failure
|
|
33
33
|
#
|
|
34
34
|
def increment_metric(name, count = 1, with_hostname = false, tags_kvs = {})
|
|
35
|
+
return true unless AppOpticsAPM.loaded
|
|
35
36
|
with_hostname = with_hostname ? 1 : 0
|
|
36
37
|
tags, tags_count = make_tags(tags_kvs)
|
|
37
38
|
AppOpticsAPM::CustomMetrics.increment(name.to_s, count, with_hostname, nil, tags, tags_count) == 1
|
|
@@ -64,6 +65,7 @@ module AppOpticsAPM
|
|
|
64
65
|
# * true on success, false on failure
|
|
65
66
|
#
|
|
66
67
|
def summary_metric(name, value, count = 1, with_hostname = false, tags_kvs = {})
|
|
68
|
+
return true unless AppOpticsAPM.loaded
|
|
67
69
|
with_hostname = with_hostname ? 1 : 0
|
|
68
70
|
tags, tags_count = make_tags(tags_kvs)
|
|
69
71
|
AppOpticsAPM::CustomMetrics.summary(name.to_s, value, count, with_hostname, nil, tags, tags_count) == 1
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appoptics_apm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.10.
|
|
4
|
+
version: 4.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maia Engeli
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2019-
|
|
13
|
+
date: 2019-11-07 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: json
|
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
247
247
|
version: '0'
|
|
248
248
|
requirements: []
|
|
249
249
|
rubyforge_project:
|
|
250
|
-
rubygems_version: 2.
|
|
250
|
+
rubygems_version: 2.6.11
|
|
251
251
|
signing_key:
|
|
252
252
|
specification_version: 4
|
|
253
253
|
summary: AppOptics APM performance instrumentation gem for Ruby
|