opentelemetry-instrumentation-pg 0.27.1 → 0.27.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da089229dce97d7a2b910b1e74cbb247ca1a527c6789f94293187d7b6c210067
|
4
|
+
data.tar.gz: 0771762b5fab0d4ae9b453389b0657f808455ff76f255dcdfd36644879fecb37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 584ec4104a7fe209024823f01054087f3ec9ef8dc145a2585b17f2901f9720aa67be4e6e9ebe4c45bcd4468a211bb1d4575aaffe3bdf25dd789be96662bd8806
|
7
|
+
data.tar.gz: c9045e9ebb8a1e06590c3956372ab9da55aaaa911ead75aaa32ddcf876a8acb13e53dd5c0545b18fa5e75273481c20f2811100c74fd6994d4a41818525f92a8c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-pg
|
2
2
|
|
3
|
+
### v0.27.3 / 2024-05-11
|
4
|
+
|
5
|
+
* ADDED: Support prepend SQL comment for PG instrumentation
|
6
|
+
|
7
|
+
### v0.27.2 / 2024-04-30
|
8
|
+
|
9
|
+
* FIXED: Bundler conflict warnings
|
10
|
+
|
3
11
|
### v0.27.1 / 2024-02-08
|
4
12
|
|
5
13
|
* FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation
|
@@ -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
|
-
|
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)
|
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.
|
4
|
+
version: 0.27.3
|
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-
|
11
|
+
date: 2024-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -136,20 +136,6 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0.3'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: pg
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 1.1.0
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 1.1.0
|
153
139
|
- !ruby/object:Gem::Dependency
|
154
140
|
name: pry
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +170,14 @@ dependencies:
|
|
184
170
|
requirements:
|
185
171
|
- - "~>"
|
186
172
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
173
|
+
version: '1.62'
|
188
174
|
type: :development
|
189
175
|
prerelease: false
|
190
176
|
version_requirements: !ruby/object:Gem::Requirement
|
191
177
|
requirements:
|
192
178
|
- - "~>"
|
193
179
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.
|
180
|
+
version: '1.62'
|
195
181
|
- !ruby/object:Gem::Dependency
|
196
182
|
name: rubocop-performance
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -257,10 +243,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
257
243
|
licenses:
|
258
244
|
- Apache-2.0
|
259
245
|
metadata:
|
260
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.
|
246
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.3/file/CHANGELOG.md
|
261
247
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/pg
|
262
248
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
263
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.
|
249
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-pg/0.27.3
|
264
250
|
post_install_message:
|
265
251
|
rdoc_options: []
|
266
252
|
require_paths:
|