opentelemetry-sdk-experimental 0.2.0 → 0.3.0
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: 4fc21ac145fad44d41f2c8c91a1cbe61971437a38421ffdcf893e5e99013a2e3
|
4
|
+
data.tar.gz: d39cf2266241ace2078e9d3641f055f834118045988ec0e54a7f16e0cd3c1203
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ec58ba8864e22b7989f2fcc420acece944e09f813fd6a59e5eecded71dc084aa8846664e77d4c0b699e28cc934cb98680bc53d5f5581aee2e0672e50afed9bb
|
7
|
+
data.tar.gz: 825ba3dea313af1e41226d851248302cf801953faed6a5170b3920e3b048fd0a35d2704a9f41c96a7ee7a6289168f6c3312bfcd8adffcf199c2c5545037667ca
|
data/CHANGELOG.md
CHANGED
@@ -13,7 +13,7 @@ module OpenTelemetry
|
|
13
13
|
# The ConsistentProbabilityTraceState module implements Tracestate parsing,
|
14
14
|
# validation and manipulation for the consistent probability-based samplers.
|
15
15
|
module ConsistentProbabilityTraceState
|
16
|
-
DECIMAL = /\A\d+\z
|
16
|
+
DECIMAL = /\A\d+\z/
|
17
17
|
MAX_LIST_LENGTH = 256 # Defined by https://www.w3.org/TR/trace-context/
|
18
18
|
private_constant(:DECIMAL, :MAX_LIST_LENGTH)
|
19
19
|
|
@@ -77,7 +77,7 @@ module OpenTelemetry
|
|
77
77
|
yield(p, r, rest)
|
78
78
|
end
|
79
79
|
|
80
|
-
def update_tracestate(tracestate, p, r, rest)
|
80
|
+
def update_tracestate(tracestate, p, r, rest)
|
81
81
|
if p.nil? && r.nil? && rest.nil?
|
82
82
|
tracestate.delete('ot')
|
83
83
|
elsif p.nil? && r.nil?
|
@@ -97,7 +97,7 @@ module OpenTelemetry
|
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
100
|
-
def invariant(p, r, sampled)
|
100
|
+
def invariant(p, r, sampled)
|
101
101
|
((p <= r) == sampled) || (sampled && (p == 63))
|
102
102
|
end
|
103
103
|
|
@@ -107,8 +107,7 @@ module OpenTelemetry
|
|
107
107
|
|
108
108
|
def generate_r(trace_id)
|
109
109
|
x = trace_id[8, 8].unpack1('Q>') | 0x3
|
110
|
-
|
111
|
-
clz
|
110
|
+
64 - x.bit_length
|
112
111
|
end
|
113
112
|
end
|
114
113
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-sdk-experimental
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
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-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 1.51.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 1.51.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: simplecov
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,10 +201,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
201
201
|
licenses:
|
202
202
|
- Apache-2.0
|
203
203
|
metadata:
|
204
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk-experimental/v0.
|
204
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk-experimental/v0.3.0/file.CHANGELOG.html
|
205
205
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/sdk_experimental
|
206
206
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
207
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk-experimental/v0.
|
207
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk-experimental/v0.3.0
|
208
208
|
post_install_message:
|
209
209
|
rdoc_options: []
|
210
210
|
require_paths:
|
@@ -213,14 +213,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
213
|
requirements:
|
214
214
|
- - ">="
|
215
215
|
- !ruby/object:Gem::Version
|
216
|
-
version:
|
216
|
+
version: '3.0'
|
217
217
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
219
|
- - ">="
|
220
220
|
- !ruby/object:Gem::Version
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
|
-
rubygems_version: 3.
|
223
|
+
rubygems_version: 3.2.33
|
224
224
|
signing_key:
|
225
225
|
specification_version: 4
|
226
226
|
summary: A stats collection and distributed tracing framework
|