opentelemetry-exporter-zipkin 0.18.0 → 0.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +9 -11
- data/lib/opentelemetry/exporter/zipkin/transformer.rb +4 -4
- data/lib/opentelemetry/exporter/zipkin/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd6c519605d46cb039b9c6cfa9e1f4c9ccf77d73e2dd91bdded8c467e0dac017
|
4
|
+
data.tar.gz: '020927edcf9e16f812cac49890100d9fcd6c43f82cfdcae060d978fd8b863ab2'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c52001d51f6571765a40d0d33f9b28eb088b33e4afa8f73196f06f087cee7a0315009ac0cf36ec0c672f08fafc9927c8d4025b47449354673e033574a12bc3b
|
7
|
+
data.tar.gz: 257ec494bc828593a4605deea420de31043b2ce6ced9eab2f188594980e258050e03096a8347f782321ba0eb49ac421b77be7a44082b182b38d95b4c8beae6e9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release History: opentelemetry-exporter-zipkin
|
2
2
|
|
3
|
+
### v0.19.3 / 2021-12-01
|
4
|
+
|
5
|
+
* FIXED: Change net attribute names to match the semantic conventions spec for http
|
6
|
+
|
7
|
+
### v0.19.2 / 2021-09-29
|
8
|
+
|
9
|
+
* (No significant changes)
|
10
|
+
|
11
|
+
### v0.19.1 / 2021-08-12
|
12
|
+
|
13
|
+
* DOCS: Update docs to rely more on environment variable configuration
|
14
|
+
|
15
|
+
### v0.19.0 / 2021-06-23
|
16
|
+
|
17
|
+
* BREAKING CHANGE: Total order constraint on span.status=
|
18
|
+
|
19
|
+
* FIXED: Total order constraint on span.status=
|
20
|
+
|
3
21
|
### v0.18.0 / 2021-05-21
|
4
22
|
|
5
23
|
* BREAKING CHANGE: Replace Time.now with Process.clock_gettime
|
data/README.md
CHANGED
@@ -31,16 +31,14 @@ Then, configure the SDK to use a zipkin exporter as a span processor, and use th
|
|
31
31
|
require 'opentelemetry/sdk'
|
32
32
|
require 'opentelemetry/exporter/zipkin'
|
33
33
|
|
34
|
-
#
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
c.service_version = '0.15.0'
|
43
|
-
end
|
34
|
+
# Select the zipkin exporter via environmental variables
|
35
|
+
ENV['OTEL_TRACES_EXPORTER'] = 'zipkin'
|
36
|
+
|
37
|
+
ENV['OTEL_SERVICE_NAME'] = 'zipkin-example'
|
38
|
+
ENV['OTEL_SERVICE_VERSION'] = '0.15.0'
|
39
|
+
|
40
|
+
# The zipkin expects an exporter running on localhost:9411 - you may override this if needed:
|
41
|
+
# ENV['OTEL_EXPORTER_ZIPKIN_ENDPOINT'] = 'http://some.other.host:12345'
|
44
42
|
|
45
43
|
# To start a trace you need to get a Tracer from the TracerProvider
|
46
44
|
tracer = OpenTelemetry.tracer_provider.tracer('my_app_or_gem', '0.1.0')
|
@@ -63,7 +61,7 @@ For additional examples, see the [examples on github][examples-github].
|
|
63
61
|
|
64
62
|
## How can I configure the Zipkin exporter?
|
65
63
|
|
66
|
-
The collector exporter can be configured explicitly in code,
|
64
|
+
The collector exporter can be configured explicitly in code, or via environment variables as shown above. The configuration parameters, environment variables, and defaults are shown below.
|
67
65
|
|
68
66
|
| Parameter | Environment variable | Default |
|
69
67
|
| ----------- | --------------------------------------| -------------------------- |
|
@@ -29,10 +29,10 @@ module OpenTelemetry
|
|
29
29
|
STATUS_ERROR = 'ERROR'
|
30
30
|
STATUS_OK = 'OK'
|
31
31
|
ATTRIBUTE_PEER_SERVICE = 'peer.service'
|
32
|
-
ATTRIBUTE_NET_PEER_IP = 'peer.ip'
|
33
|
-
ATTRIBUTE_NET_PEER_PORT = 'peer.port'
|
34
|
-
ATTRIBUTE_NET_HOST_IP = 'host.ip'
|
35
|
-
ATTRIBUTE_NET_HOST_PORT = 'host.port'
|
32
|
+
ATTRIBUTE_NET_PEER_IP = 'net.peer.ip'
|
33
|
+
ATTRIBUTE_NET_PEER_PORT = 'net.peer.port'
|
34
|
+
ATTRIBUTE_NET_HOST_IP = 'net.host.ip'
|
35
|
+
ATTRIBUTE_NET_HOST_PORT = 'net.host.port'
|
36
36
|
|
37
37
|
DEFAULT_SERVICE_NAME = OpenTelemetry::SDK::Resources::Resource.default.attribute_enumerator.find { |k, _| k == SERVICE_NAME_ATTRIBUTE_KEY }&.last || 'unknown_service'
|
38
38
|
private_constant(:KIND_MAP, :DEFAULT_SERVICE_NAME, :SERVICE_NAME_ATTRIBUTE_KEY, :ERROR_TAG_KEY, :STATUS_CODE_NAME, :STATUS_ERROR, :STATUS_OK, :ATTRIBUTE_PEER_SERVICE, :ATTRIBUTE_NET_PEER_IP, :ATTRIBUTE_NET_PEER_PORT, :ATTRIBUTE_NET_HOST_IP, :ATTRIBUTE_NET_HOST_PORT)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-exporter-zipkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.0
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: opentelemetry-common
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.19.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.19.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: opentelemetry-sdk
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.0
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.0
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,10 +198,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
198
198
|
licenses:
|
199
199
|
- Apache-2.0
|
200
200
|
metadata:
|
201
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.
|
201
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.19.3/file.CHANGELOG.html
|
202
202
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/zipkin
|
203
203
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
204
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.
|
204
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.19.3
|
205
205
|
post_install_message:
|
206
206
|
rdoc_options: []
|
207
207
|
require_paths:
|