opentelemetry-api 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/opentelemetry/trace/tracer.rb +8 -0
- data/lib/opentelemetry/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ea7fb5085d8220f4b01ebb65df32177ec8ce608f849db6fe2e5db6828bc5f02
|
4
|
+
data.tar.gz: 574d5917f10f1d5c1252be784d9e1c53bd80948e8fc0db9916ed589573e12633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31e79256933559788d450620683945620126bea8e0035912550672b5134d0c688f15d4fe2b3c739c9b765b57e0f54d2d978c7543ad426646de456a3c235d58c4
|
7
|
+
data.tar.gz: 937b56f92d4bd058b39309502636ceec389590f0592c317acad4f51ea45d99763427496e423d0e7a449af3c6e14e31616de1f91da54259665b0978a01da1e34b
|
data/CHANGELOG.md
CHANGED
@@ -21,6 +21,14 @@ module OpenTelemetry
|
|
21
21
|
# On exit, the Span that was active before calling this method will be reactivated. If an
|
22
22
|
# exception occurs during the execution of the provided block, it will be recorded on the
|
23
23
|
# span and reraised.
|
24
|
+
#
|
25
|
+
# @param name [String] the name of the span
|
26
|
+
# @param attributes [optional Hash] attributes to attach to the span {String => String,
|
27
|
+
# Numeric, Boolean, Array<String, Numeric, Boolean>}
|
28
|
+
# @param links [optional Array] an array of OpenTelemetry::Trace::Link instances
|
29
|
+
# @param start_timestamp [optional Integer] nanoseconds since Epoch
|
30
|
+
# @param kind [optional Symbol] One of :internal, :server, :client, :producer, :consumer
|
31
|
+
#
|
24
32
|
# @yield [span, context] yields the newly created span and a context containing the
|
25
33
|
# span to the block.
|
26
34
|
def in_span(name, attributes: nil, links: nil, start_timestamp: nil, kind: nil, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
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-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ipsa
|
@@ -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-api/v1.2.
|
204
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.1/file.CHANGELOG.html
|
205
205
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/api
|
206
206
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
207
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.
|
207
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.1
|
208
208
|
post_install_message:
|
209
209
|
rdoc_options: []
|
210
210
|
require_paths:
|