elastic-apm 3.11.0 → 3.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.asciidoc +8 -0
- data/Gemfile +0 -1
- data/lib/elastic_apm/transport/serializers/metadata_serializer.rb +16 -2
- data/lib/elastic_apm/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54d7b5d46523e74fc797ec2030a355b6137e92a40ecb8242a9a79d551d6b2f89
|
4
|
+
data.tar.gz: ba614dd32ce665845f09d9c840fff0f6e8a34637a703f849a7b22edbeb350d25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd0d35a56be409fd3ee55352d68a9ef7cfd13add082edb41ca971bde54895c70babd30025e6a87134123a999be2732b476a8868b3db617b9f315940124f8e2ad
|
7
|
+
data.tar.gz: 75e7e737b4f927dbbbb6b828ae5c628b3e37334409a43b1e94cc09cb9b403dcbb7030e766e49cadba9683536032119514f022570abb97c066fce6a59959dbf6f
|
data/CHANGELOG.asciidoc
CHANGED
@@ -35,6 +35,14 @@ endif::[]
|
|
35
35
|
[[release-notes-3.x]]
|
36
36
|
=== Ruby Agent version 3.x
|
37
37
|
|
38
|
+
[[release-notes-3.11.1]]
|
39
|
+
==== 3.11.1 (2020-11-05)
|
40
|
+
|
41
|
+
[float]
|
42
|
+
===== Fixed
|
43
|
+
|
44
|
+
- Fix reporting from Kubernetes based deploys to APM Server 7.9.x {pull}885[#885]
|
45
|
+
|
38
46
|
[[release-notes-3.11.0]]
|
39
47
|
==== 3.11.0 (2020-10-27)
|
40
48
|
|
data/Gemfile
CHANGED
@@ -89,7 +89,7 @@ module ElasticAPM
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def build_cloud(cloud)
|
92
|
-
|
92
|
+
strip_nulls!(
|
93
93
|
provider: cloud.provider,
|
94
94
|
account: {
|
95
95
|
id: keyword_field(cloud.account_id),
|
@@ -106,12 +106,26 @@ module ElasticAPM
|
|
106
106
|
name: keyword_field(cloud.project_name),
|
107
107
|
},
|
108
108
|
region: keyword_field(cloud.region)
|
109
|
-
|
109
|
+
)
|
110
110
|
end
|
111
111
|
|
112
112
|
def build_labels(labels)
|
113
113
|
keyword_object(labels)
|
114
114
|
end
|
115
|
+
|
116
|
+
# A bug in APM Server 7.9 disallows null values in `cloud`
|
117
|
+
def strip_nulls!(hash)
|
118
|
+
hash.keys.each do |key|
|
119
|
+
case value = hash[key]
|
120
|
+
when Hash
|
121
|
+
strip_nulls!(value)
|
122
|
+
hash.delete(key) if value.empty?
|
123
|
+
when nil then hash.delete(key)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
hash
|
128
|
+
end
|
115
129
|
end
|
116
130
|
end
|
117
131
|
end
|
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: 3.11.
|
4
|
+
version: 3.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikkel Malmberg
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.0'
|
41
|
-
description:
|
41
|
+
description:
|
42
42
|
email:
|
43
43
|
- mikkel@elastic.co
|
44
44
|
executables: []
|
@@ -245,7 +245,7 @@ licenses:
|
|
245
245
|
- Apache-2.0
|
246
246
|
metadata:
|
247
247
|
source_code_uri: https://github.com/elastic/apm-agent-ruby
|
248
|
-
post_install_message:
|
248
|
+
post_install_message:
|
249
249
|
rdoc_options: []
|
250
250
|
require_paths:
|
251
251
|
- lib
|
@@ -260,8 +260,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
rubygems_version: 3.
|
264
|
-
signing_key:
|
263
|
+
rubygems_version: 3.0.3
|
264
|
+
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: The official Elastic APM agent for Ruby
|
267
267
|
test_files: []
|