atatus 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/LICENSE +1 -1
- data/lib/atatus/collector/base.rb +1 -1
- data/lib/atatus/collector/builder.rb +3 -3
- data/lib/atatus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f1224097b7365777c25187cfc37e91183820049468b600c440a267e56eedab3
|
4
|
+
data.tar.gz: bfa687f00c9fc260b2b1c2530f98221feb145097ea950327dd50ed28d3c93f49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c534a65922f5a3b4a82965af2eeeabd2b1f6d634cad3857054a2c4ae517a7fcda79bd6d9664874c1bd411078d7e0adfc27eba1c4c523d24e5195299b42fefb81
|
7
|
+
data.tar.gz: '078b28a6a86fa7d96c726e14f8cd8a8892efad31d839b843d58c6fd1c7229b7d8df36a21eaaea550ba2dcdd14431165ee317d31d0bb0bf34539f25f320b7d200'
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
7
|
|
8
|
+
## 1.5.0 (Thu, 27 May 2021)
|
9
|
+
|
10
|
+
- Fixed issue in status code conversion.
|
11
|
+
|
12
|
+
|
8
13
|
## 1.4.0 (Tue, 15 Sept 2020)
|
9
14
|
|
10
15
|
- Added histogram support.
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
All components of this product are Copyright (c)
|
1
|
+
All components of this product are Copyright (c) 2021 Atatus. All rights reserved.
|
2
2
|
|
3
3
|
Except as otherwise expressly provided in this Agreement,
|
4
4
|
End User shall not (and shall not permit any third party to):
|
@@ -270,7 +270,7 @@ module Atatus
|
|
270
270
|
!txn.context.response.nil? &&
|
271
271
|
!txn.context.response.status_code.nil?
|
272
272
|
then
|
273
|
-
status_code = txn.context.response.status_code
|
273
|
+
status_code = txn.context.response.status_code.to_i
|
274
274
|
|
275
275
|
if status_code >= 400 && status_code != 404
|
276
276
|
if !@error_metrics_agg.key?(txn.name)
|
@@ -195,7 +195,7 @@ module Atatus
|
|
195
195
|
|
196
196
|
if !context.response.nil?
|
197
197
|
if !context.response.status_code.nil?
|
198
|
-
request[:statusCode] = context.response.status_code
|
198
|
+
request[:statusCode] = context.response.status_code.to_i
|
199
199
|
end
|
200
200
|
end
|
201
201
|
|
@@ -286,7 +286,7 @@ module Atatus
|
|
286
286
|
entry[:dt] = {}
|
287
287
|
entry[:dt][:url] = span.context.http.url
|
288
288
|
entry[:dt][:method] = span.context.http.method if defined?(span.context.http.method) && !span.context.http.method.nil?
|
289
|
-
entry[:dt][:status_code] = span.context.http.status_code if defined?(span.context.http.status_code) && !span.context.http.status_code.nil?
|
289
|
+
entry[:dt][:status_code] = span.context.http.status_code.to_s if defined?(span.context.http.status_code) && !span.context.http.status_code.nil?
|
290
290
|
end
|
291
291
|
trace[:entries] << entry
|
292
292
|
func_index = trace[:funcs].index(span.name)
|
@@ -409,7 +409,7 @@ module Atatus
|
|
409
409
|
frame = {}
|
410
410
|
frame[:f] = f.filename
|
411
411
|
frame[:m] = f.function
|
412
|
-
frame[:ln] = f.lineno
|
412
|
+
frame[:ln] = f.lineno.to_i
|
413
413
|
if f.library_frame == false
|
414
414
|
frame[:inp] = true
|
415
415
|
end
|
data/lib/atatus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atatus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Atatus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|