oneapm_rpm 1.1.0 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6346e8f845d58532b92012e378955bb6b28d5819
4
- data.tar.gz: 44236463f7426d56843b3be7629648d1ca675ad0
3
+ metadata.gz: 5e32427fd3917392d098a61043e2e8ba109be38f
4
+ data.tar.gz: 146849355bbd8791205fafccca1cd14a42d93eaa
5
5
  SHA512:
6
- metadata.gz: abde7b81716fe857213e05fbdfbeb1c4e096a4115b58098d8e9b84c1579ba2048598d9121df1079e71fa68de4f1ec9a7727d18b8c722be4ab0485112a854932a
7
- data.tar.gz: b930229a58b1236d039cc0297d9b8586c07957e850c3423bc7cb2f569f740d5bc29f398da310daf0b4e83c0ad568a1bfc53cfcfea76873a865c344a457722789
6
+ metadata.gz: 75c0d8b2b385925693074ea3c369cf2ec062a7708369f704c8890d7f1d1c549502848bddbb5d8f8ba0503a19056d974baf74427c64e15a436b237876df3bdaab
7
+ data.tar.gz: 1e84cb7ff83b77382c7b854b87473dc426a1baff93ccc9c1612d7febbd96aeefa0ab59090160d6090fd90e6fbbce29b0b78a06d28b5661cc27242adf5c203f43
@@ -46,11 +46,11 @@ module OneApm
46
46
 
47
47
  # Given a metric name such as "ActiveRecord/model/action" this
48
48
  # returns an array of rollup metrics:
49
- # [ "Datastore/all", "ActiveRecord/all", "ActiveRecord/action" ]
49
+ # [ "Database/all", "ActiveRecord/all", "ActiveRecord/action" ]
50
50
  # If the metric name is in the form of "ActiveRecord/action"
51
- # this returns merely: [ "Datastore/all", "ActiveRecord/all" ]
51
+ # this returns merely: [ "Database/all", "ActiveRecord/all" ]
52
52
  def rollup_metrics_for(metric)
53
- metrics = ["Datastore/all"]
53
+ metrics = ["Database/all"]
54
54
 
55
55
  # If we're outside of a web transaction, don't record any rollup
56
56
  # database metrics. This is to prevent metrics from background tasks
@@ -58,7 +58,7 @@ module OneApm
58
58
  if OneApm::Transaction.recording_web_transaction?
59
59
  metrics << "ActiveRecord/all"
60
60
  else
61
- metrics << "Datastore/allOther"
61
+ metrics << "Database/allOther"
62
62
  end
63
63
  metrics << "ActiveRecord/#{$1}" if metric =~ /ActiveRecord\/[\w|\:]+\/(\w+)/
64
64
 
@@ -5,7 +5,7 @@ module OneApm
5
5
 
6
6
  MAJOR = 1
7
7
  MINOR = 1
8
- TINY = 0
8
+ TINY = 1
9
9
 
10
10
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneapm_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - oneapm