opentelemetry-instrumentation-trilogy 0.56.1 → 0.56.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/opentelemetry/instrumentation/trilogy/patches/client.rb +5 -0
- data/lib/opentelemetry/instrumentation/trilogy/version.rb +1 -1
- data/lib/opentelemetry/instrumentation/trilogy.rb +2 -2
- data/lib/opentelemetry/instrumentation.rb +1 -1
- data/lib/opentelemetry-instrumentation-trilogy.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 629aab2e80bded0180191360f3ce7f39f32aa71e614e43133316d767d8d982e5
|
4
|
+
data.tar.gz: 9ad84c512c2aa3f36db0cfeabd600eb5e53247393f24bba9d87f20bac46d4896
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5259b1255a5a250812fec2f0a54e262cc82c399d7a43b530b26e3661cd141289be4bffcfd82b745968c97fec1512e2fb22b27e70629124bcc49951047e8fb04
|
7
|
+
data.tar.gz: 7088723e82f52bb468e2edabfabc3746f1929ea6bbb1ee13f337135516efb64a2b0a0ec97dd400a0218f55d2a1b469245979052b4838a06475bf7cb8ecb9000e
|
data/CHANGELOG.md
CHANGED
@@ -67,6 +67,7 @@ module OpenTelemetry
|
|
67
67
|
}
|
68
68
|
|
69
69
|
attributes[::OpenTelemetry::SemanticConventions::Trace::DB_NAME] = database_name if database_name
|
70
|
+
attributes[::OpenTelemetry::SemanticConventions::Trace::DB_USER] = database_user if database_user
|
70
71
|
attributes[::OpenTelemetry::SemanticConventions::Trace::PEER_SERVICE] = config[:peer_service] unless config[:peer_service].nil?
|
71
72
|
attributes['db.mysql.instance.address'] = @connected_host if defined?(@connected_host)
|
72
73
|
|
@@ -131,6 +132,10 @@ module OpenTelemetry
|
|
131
132
|
connection_options[:database]
|
132
133
|
end
|
133
134
|
|
135
|
+
def database_user
|
136
|
+
connection_options[:username]
|
137
|
+
end
|
138
|
+
|
134
139
|
def tracer
|
135
140
|
Trilogy::Instrumentation.instance.tracer
|
136
141
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-trilogy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.56.
|
4
|
+
version: 0.56.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
187
|
+
version: 1.54.1
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.
|
194
|
+
version: 1.54.1
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: simplecov
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -275,10 +275,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
275
275
|
licenses:
|
276
276
|
- Apache-2.0
|
277
277
|
metadata:
|
278
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.56.
|
278
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.56.2/file/CHANGELOG.md
|
279
279
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/trilogy
|
280
280
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
281
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.56.
|
281
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.56.2
|
282
282
|
post_install_message:
|
283
283
|
rdoc_options: []
|
284
284
|
require_paths:
|