opentelemetry-instrumentation-pg 0.27.2 → 0.27.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68f1047b3d25442f96fb9fa0f10d10b98fb3548e82ba78474fbd388a0af3603d
4
- data.tar.gz: 17bbb6ddcf943bf302e9b6ddf86a1782ecaa36f8cdce8f8db191de518441e645
3
+ metadata.gz: 2187ac9ab422a74e19649ecd640402256df3fb1d7612c085505a27c7338f8466
4
+ data.tar.gz: 98499058df88381568fec937169996a045869c6fbfb90a85db754e9fd53d674e
5
5
  SHA512:
6
- metadata.gz: 593698f81d0116f9927b1872a11f22a49cf19b6b60d2b8b66155c6f3b741b877a01b0fb4b475f820b9fcf591225f1802e790a0324e9c5755d155067129930e1a
7
- data.tar.gz: dfbd062c3b8285db9a5fd8b1f2ecddc0cb85129364d5d5740593b4ca838e7f1388ec5ed923a14aae497d39af0b57f521c1fe5a66c74d2a880ab17ced9de6cbd3
6
+ metadata.gz: c9df84e9dcce11d2893ef9623cb2e23ddae0eb12fb8f881c7f792f62b461105d9e1205848dc5bd395607db5e3845dab1fac7f8dfc00e0b4ad7665c1df414531d
7
+ data.tar.gz: 9ef15614badb43be8b8dcc43e36672008cae7dc9c03bbd0bd12249971361c0e22c0cbd2a495cae66ccf4221a76b3df743e307ccbe7b004bc8e5e4ee87ee67d1d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-pg
2
2
 
3
+ ### v0.27.4 / 2024-07-23
4
+
5
+ * DOCS: Add cspell to CI
6
+
7
+ ### v0.27.3 / 2024-05-11
8
+
9
+ * ADDED: Support prepend SQL comment for PG instrumentation
10
+
3
11
  ### v0.27.2 / 2024-04-30
4
12
 
5
13
  * FIXED: Bundler conflict warnings
@@ -100,7 +108,7 @@
100
108
 
101
109
  ### v0.18.0 / 2021-05-21
102
110
 
103
- * ADDED: Updated API depedency for 1.0.0.rc1
111
+ * ADDED: Updated API dependency for 1.0.0.rc1
104
112
  * ADDED: Add option to postgres instrumentation to disable db.statement
105
113
 
106
114
  ### v0.17.1 / 2021-04-23
@@ -112,7 +112,9 @@ module OpenTelemetry
112
112
 
113
113
  def extract_operation(sql)
114
114
  # From: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/9244a08a8d014afe26b82b91cf86e407c2599d73/plugins/node/opentelemetry-instrumentation-pg/src/utils.ts#L35
115
- sql.to_s.split[0].to_s.upcase
115
+ # Ignores prepend comment
116
+ comment_regex = %r{\A\/\*.*?\*\/}m
117
+ sql.to_s.sub(comment_regex, '').split[0].to_s.upcase
116
118
  end
117
119
 
118
120
  def span_name(operation)
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module PG
10
- VERSION = '0.27.2'
10
+ VERSION = '0.27.4'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.2
4
+ version: 0.27.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-30 00:00:00.000000000 Z
11
+ date: 2024-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '1.62'
173
+ version: 1.65.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '1.62'
180
+ version: 1.65.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rubocop-performance
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -243,10 +243,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
243
243
  licenses:
244
244
  - Apache-2.0
245
245
  metadata:
246
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.2/file/CHANGELOG.md
246
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.4/file/CHANGELOG.md
247
247
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/pg
248
248
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
249
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.2
249
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.4
250
250
  post_install_message:
251
251
  rdoc_options: []
252
252
  require_paths: