hubstep 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hubstep/faraday/middleware.rb +5 -1
- data/lib/hubstep/rack/middleware.rb +2 -0
- data/lib/hubstep/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f148ad6c3e1db0afc16d65b5dbfca8c4b6ba0e18
|
4
|
+
data.tar.gz: 196a420ef18d868e92b01f5ebebd0886a0247d7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d04043811fec301102ab3517706d7a1b259a5347066a82feae02c6c873887622df7e91fd89397b5eb4cc0829437713f3d29fcfee433aba5ba1ea018bc125099c
|
7
|
+
data.tar.gz: f9f5e821422466dc65cfaff9439e5fcb10c6837b2409db0068bf81f0eb2ff35baeab36c7e2f91fcae92926611d3e79aa1cf60b3d68eb5608696eb8744e6beeed
|
@@ -86,7 +86,11 @@ module HubStep
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def record_response(span, response_env)
|
89
|
-
|
89
|
+
status = response_env[:status]
|
90
|
+
span.set_tag("http.status_code", status)
|
91
|
+
|
92
|
+
return if status.to_i < 500
|
93
|
+
span.set_tag("error", true)
|
90
94
|
end
|
91
95
|
|
92
96
|
def record_exception(span, exception)
|
data/lib/hubstep/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubstep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lightstep
|