elastic-apm 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of elastic-apm might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/docs/api.asciidoc +0 -2
- data/lib/elastic_apm/span.rb +4 -7
- data/lib/elastic_apm/transport/serializers/span_serializer.rb +0 -1
- data/lib/elastic_apm/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: 4cefd73acad31a9561dbfb964d2654d8f702c8db1783df2fe7dee9849a87609f
|
4
|
+
data.tar.gz: 8e4be6f5ee71a5972bc964f736d1cfaf652d307e2c080f7c9439273d966fc4d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d73c89eb559553948b4eb628d321e0aee6aeb9d754ba6b8737e628fd2858290b761800a1da761d65d3d83126e0a6cab634ead3a3a763174064d8a16d3ae8dda9
|
7
|
+
data.tar.gz: 3b8b33c2083e82a433d650bf7708fe5686e47c3a4af71f233bbd52bafb202aa36ca1917e1f676deaeb587ad960b37286ac13e341e65e66c4d39246df99ac342f
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## 2.0.1 (2018-11-15)
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
- Stop sending `span.start` ([#234](https://github.com/elastic/apm-agent-ruby/pull/234))
|
12
|
+
|
7
13
|
## 2.0.0 (2018-11-14)
|
8
14
|
|
9
15
|
Version adds support for APM Server 6.5 and needs at least that.
|
data/docs/api.asciidoc
CHANGED
data/lib/elastic_apm/span.rb
CHANGED
@@ -33,11 +33,10 @@ module ElasticAPM
|
|
33
33
|
|
34
34
|
attr_accessor :name, :type, :original_backtrace, :parent
|
35
35
|
attr_reader :id, :context, :stacktrace, :duration,
|
36
|
-
:
|
36
|
+
:timestamp, :transaction_id, :trace_id
|
37
37
|
|
38
38
|
def transaction=(transaction)
|
39
39
|
@transaction_id = transaction&.id
|
40
|
-
@timestamp = transaction&.timestamp
|
41
40
|
@trace_id = transaction&.trace_id
|
42
41
|
end
|
43
42
|
|
@@ -48,15 +47,13 @@ module ElasticAPM
|
|
48
47
|
# life cycle
|
49
48
|
|
50
49
|
def start
|
51
|
-
|
52
|
-
|
53
|
-
@relative_start = Util.micros - timestamp
|
50
|
+
@timestamp = Util.micros
|
54
51
|
|
55
52
|
self
|
56
53
|
end
|
57
54
|
|
58
55
|
def stop
|
59
|
-
@duration = Util.micros - timestamp
|
56
|
+
@duration = Util.micros - timestamp
|
60
57
|
end
|
61
58
|
|
62
59
|
def done
|
@@ -74,7 +71,7 @@ module ElasticAPM
|
|
74
71
|
end
|
75
72
|
|
76
73
|
def started?
|
77
|
-
!!
|
74
|
+
!!timestamp
|
78
75
|
end
|
79
76
|
|
80
77
|
def running?
|
data/lib/elastic_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic-apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikkel Malmberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|