opentelemetry-instrumentation-trilogy 0.59.3 → 0.60.0

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: c58c35f732e1edbc765b0de5afa96c7be76a5d260e110ce8ff40a638a1245cef
4
- data.tar.gz: 103b0b742b05ce46e67037ff56015c9bf92e3af53ed08ad4786727faa44bacce
3
+ metadata.gz: 9e48ea9dc2d2e349500a914e1d9c057ee1b6a22fdb61a1b786470f71e780730d
4
+ data.tar.gz: 814857b0a4cbeacbe658b7efd8235f0a8688cf6a5d426d804981ada9245a87ca
5
5
  SHA512:
6
- metadata.gz: caa14fa99c27628dea3e56f07152a51898e97d8e45d0b0b140f2af816d4f03e61a06b2c5f2ba90eae5034f5fcb6a59702790a7894580603a6ba629f995821994
7
- data.tar.gz: ed6e2f671f0091ce0ba2ee8b27c68a32728d124103f7e85f6cc42fca08507678b44a16a655ceb8ae661e12090e7a5590f34082d8316bc0fe084f015921b775df
6
+ metadata.gz: fa1ad09256d7f85ad49749e1c009cf330a38c8aa8af3c6c42cac3e7fd120e7b66accaddfb211bf010de9cb969afb6a46c7e118f1cf09b14c8091e5ad12590b87
7
+ data.tar.gz: 9fc2fe8871d1f6997defd824c9d5183594761506784f7caa3ceced00bc3217e53d9defc016b11302eb7e4b39cf60c7492b0515bc7618cbfd7457fa66b9dd112c
data/CHANGELOG.md CHANGED
@@ -1,96 +1,100 @@
1
1
  # Release History: opentelemetry-instrumentation-trilogy
2
2
 
3
+ ### v0.60.0 / 2024-09-12
4
+
5
+ - BREAKING CHANGE: Return message when sql is over the obfuscation limit. Fixes a bug where sql statements with prepended comments that hit the obfuscation limit would be sent raw.
6
+
3
7
  ### v0.59.3 / 2024-04-30
4
8
 
5
- * FIXED: Bundler conflict warnings
9
+ - FIXED: Bundler conflict warnings
6
10
 
7
11
  ### v0.59.2 / 2024-02-20
8
12
 
9
- * FIXED: Dup string if frozen in trilogy query
13
+ - FIXED: Dup string if frozen in trilogy query
10
14
 
11
15
  ### v0.59.1 / 2024-02-08
12
16
 
13
- * FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation
17
+ - FIXED: Add missing requires for sql-helpers to mysql, pg, and trilogy instrumentation
14
18
 
15
19
  ### v0.59.0 / 2024-02-08
16
20
 
17
- * BREAKING CHANGE: Move shared sql behavior to helper gems
21
+ - BREAKING CHANGE: Move shared sql behavior to helper gems
18
22
 
19
- * ADDED: Propagate context to Vitess
23
+ - ADDED: Propagate context to Vitess
20
24
 
21
25
  ### v0.58.0 / 2024-01-06
22
26
 
23
- * BREAKING CHANGE: Change db.mysql.instance.address to db.instance.id
27
+ - BREAKING CHANGE: Change db.mysql.instance.address to db.instance.id
24
28
 
25
- * ADDED: Change db.mysql.instance.address to db.instance.id
26
- * FIXED: Trilogy only set db.instance.id attribute if there is a value
29
+ - ADDED: Change db.mysql.instance.address to db.instance.id
30
+ - FIXED: Trilogy only set db.instance.id attribute if there is a value
27
31
 
28
32
  ### v0.57.0 / 2023-10-27
29
33
 
30
- * ADDED: Instrument connect and ping
34
+ - ADDED: Instrument connect and ping
31
35
 
32
36
  ### v0.56.3 / 2023-08-03
33
37
 
34
- * FIXED: Remove inline linter rules
38
+ - FIXED: Remove inline linter rules
35
39
 
36
40
  ### v0.56.2 / 2023-07-14
37
41
 
38
- * ADDED: `db.user` attribute (recommended connection-level attribute)
42
+ - ADDED: `db.user` attribute (recommended connection-level attribute)
39
43
 
40
44
  ### v0.56.1 / 2023-06-05
41
45
 
42
- * FIXED: Base config options
46
+ - FIXED: Base config options
43
47
 
44
48
  ### v0.56.0 / 2023-06-02
45
49
 
46
- * BREAKING CHANGE: Separate logical MySQL host from connected host
50
+ - BREAKING CHANGE: Separate logical MySQL host from connected host
47
51
 
48
- * ADDED: Separate logical MySQL host from connected host
52
+ - ADDED: Separate logical MySQL host from connected host
49
53
 
50
54
  ### v0.55.1 / 2023-06-01
51
55
 
52
- * FIXED: Regex non-match with obfuscation limit (issue #486)
56
+ - FIXED: Regex non-match with obfuscation limit (issue #486)
53
57
 
54
58
  ### v0.55.0 / 2023-05-31
55
59
 
56
- * BREAKING CHANGE: Add database name for trilogy traces
60
+ - BREAKING CHANGE: Add database name for trilogy traces
57
61
 
58
- * ADDED: Add database name for trilogy traces
62
+ - ADDED: Add database name for trilogy traces
59
63
 
60
64
  ### v0.54.0 / 2023-05-25
61
65
 
62
- * ADDED: Add Obfuscation Limit Option to Trilogy
66
+ - ADDED: Add Obfuscation Limit Option to Trilogy
63
67
 
64
68
  ### v0.53.0 / 2023-04-17
65
69
 
66
- * BREAKING CHANGE: Drop support for EoL Ruby 2.7
70
+ - BREAKING CHANGE: Drop support for EoL Ruby 2.7
67
71
 
68
- * ADDED: Drop support for EoL Ruby 2.7
72
+ - ADDED: Drop support for EoL Ruby 2.7
69
73
 
70
74
  ### v0.52.0 / 2023-03-06
71
75
 
72
- * ADDED: Add with_attributes context propagation to Trilogy instrumentation
73
- * ADDED: Add option to configure span name for trilogy
74
- * FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy
76
+ - ADDED: Add with_attributes context propagation to Trilogy instrumentation
77
+ - ADDED: Add option to configure span name for trilogy
78
+ - FIXED: Ensure encoding errors handled during SQL obfuscation for Trilogy
75
79
 
76
80
  ### v0.51.1 / 2023-01-14
77
81
 
78
- * DOCS: Fix gem homepage
79
- * DOCS: More gem documentation fixes
82
+ - DOCS: Fix gem homepage
83
+ - DOCS: More gem documentation fixes
80
84
 
81
85
  ### v0.51.0 / 2022-06-09
82
86
 
83
- * Upgrading Base dependency version
84
- * FIXED: Broken test file requirements
87
+ - Upgrading Base dependency version
88
+ - FIXED: Broken test file requirements
85
89
 
86
90
  ### v0.50.2 / 2022-05-05
87
91
 
88
- * (No significant changes)
92
+ - (No significant changes)
89
93
 
90
94
  ### v0.50.1 / 2022-01-07
91
95
 
92
- * FIXED: Trilogy Driver Options
96
+ - FIXED: Trilogy Driver Options
93
97
 
94
98
  ### v0.50.0 / 2021-12-31
95
99
 
96
- * Initial release.
100
+ - Initial release.
data/README.md CHANGED
@@ -12,7 +12,7 @@ Some key differences in this instrumentation are:
12
12
 
13
13
  Install the gem using:
14
14
 
15
- ```
15
+ ```console
16
16
  gem install opentelemetry-instrumentation-trilogy
17
17
  ```
18
18
 
@@ -68,7 +68,7 @@ This instrumentation generally uses [Database semantic conventions](https://open
68
68
 
69
69
  The `opentelemetry-instrumentation-trilogy` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
70
70
 
71
- The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
71
+ The OpenTelemetry Ruby gems are maintained by the OpenTelemetry Ruby special interest group (SIG). You can get involved by joining us on our [GitHub Discussions][discussions-url], [Slack Channel][slack-channel] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
72
72
 
73
73
  ## License
74
74
 
@@ -80,4 +80,6 @@ The `opentelemetry-instrumentation-trilogy` gem is distributed under the Apache
80
80
  [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
81
81
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
82
82
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
83
+ [slack-channel]: https://cloud-native.slack.com/archives/C01NWKKMKMY
83
84
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
85
+ [opentelemetry-mysql]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/mysql2
@@ -58,7 +58,7 @@ module OpenTelemetry
58
58
  propagator.inject(sql, context: context)
59
59
  end
60
60
 
61
- super(sql)
61
+ super
62
62
  end
63
63
  end
64
64
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Trilogy
10
- VERSION = '0.59.3'
10
+ VERSION = '0.60.0'
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-trilogy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.3
4
+ version: 0.60.0
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-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -226,14 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '1.62'
229
+ version: 1.66.0
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '1.62'
236
+ version: 1.66.0
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: rubocop-performance
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -297,10 +297,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
297
297
  licenses:
298
298
  - Apache-2.0
299
299
  metadata:
300
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.59.3/file/CHANGELOG.md
300
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.60.0/file/CHANGELOG.md
301
301
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/trilogy
302
302
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
303
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.59.3
303
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-trilogy/0.60.0
304
304
  post_install_message:
305
305
  rdoc_options: []
306
306
  require_paths: