opentelemetry-instrumentation-sinatra 0.21.3 → 0.21.5
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: 2b44945151107e900d9c3ca678915cc6d5079139fc1963535036d83ac19b1705
|
4
|
+
data.tar.gz: b375e81823aa2592e16c1399111c93542256ddcd2de16478d8401e0fe1e228be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7feb762b6e237cbb5378f01076b1474d2720d7a89b49cce511425d3030786bff6aa71bc62082f40169ca5c70503ab171f0114983cced8d4e0b21d611421645d2
|
7
|
+
data.tar.gz: fad4cc23e97393733e1f23e98db05c05d1ada2c7d70ed91da59e4875c448efd526e497284ce6fc55897e6bbf5aa8c6094c3b6bb82da21b17d82a473eb506c738
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-sinatra
|
2
2
|
|
3
|
+
### v0.21.5 / 2023-02-13
|
4
|
+
|
5
|
+
* FIXED: Add exceptions to sinatra spans, ruboproof test.
|
6
|
+
|
7
|
+
### v0.21.4 / 2023-02-08
|
8
|
+
|
9
|
+
* CHANGED: incorrect error type being recorded when Sinatra route raises exception [#317](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/317)
|
10
|
+
|
3
11
|
### v0.21.3 / 2023-01-27
|
4
12
|
|
5
13
|
* fix: Check if env['sinatra.error'] exists before recording it
|
@@ -28,6 +28,8 @@ module OpenTelemetry
|
|
28
28
|
span.set_attribute('http.route', env['sinatra.route'].split.last) if env['sinatra.route']
|
29
29
|
span.name = env['sinatra.route'] if env['sinatra.route']
|
30
30
|
|
31
|
+
return if response.nil?
|
32
|
+
|
31
33
|
sinatra_response = ::Sinatra::Response.new([], response.first)
|
32
34
|
return unless sinatra_response.server_error?
|
33
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.5
|
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-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -256,10 +256,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
256
256
|
licenses:
|
257
257
|
- Apache-2.0
|
258
258
|
metadata:
|
259
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sinatra/0.21.
|
259
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sinatra/0.21.5/file/CHANGELOG.md
|
260
260
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/sinatra
|
261
261
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
262
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sinatra/0.21.
|
262
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sinatra/0.21.5
|
263
263
|
post_install_message:
|
264
264
|
rdoc_options: []
|
265
265
|
require_paths:
|