opentelemetry-exporter-zipkin 0.19.0 → 0.19.1

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: 580a224dcd73af1a6cc7ea728da7d58a2d759a57d563d4c23d3d1a5439c038f4
4
- data.tar.gz: 9550c4253385e2ca2c954ee827cc7af7687a249d56866a4e6f7e76b7ba79556a
3
+ metadata.gz: f303f4ec1d21048a8a00a8eb82fca6b9e2296d85f890d6fa2b682ad6f0e9c8ba
4
+ data.tar.gz: a539f38defe2866b56347f1386c92ca6ab214e1fdc82ea31ec33d3af6ff201b5
5
5
  SHA512:
6
- metadata.gz: 9e63e143611bdc223be0d009fd3b51acc3c2dfb8fe4f8e23e31a82a4a9b18a82b650def2a0b1554a326c7b40409a743d0fc6fae41c4779115ff9e3924de88804
7
- data.tar.gz: 24d0c9e7a3ee41954e42db0587e6cdbb2553d1af92d46c8e8a0b83d5a39149d80e5b5a71cad7692b47648359ed16c706c83dbdb17e837327aa9ba57453be6c97
6
+ metadata.gz: a4ca4f972e03ef088f2724732195ceae1d57681510d818ab9be27ffdc11a6c35ead0217f19b326fd6ed86fcdfd52c9be31603d020157b176b8b1f0327d332ea3
7
+ data.tar.gz: e7d6684134bb4d7490093e7ec73482a97659931dd5be21078fa2817191f5b8813c9503263ea0607d387b6c56b09cb6455d98f5e4cb6beafea4e8d3de70b728f4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-exporter-zipkin
2
2
 
3
+ ### v0.19.1 / 2021-08-12
4
+
5
+ * DOCS: Update docs to rely more on environment variable configuration
6
+
3
7
  ### v0.19.0 / 2021-06-23
4
8
 
5
9
  * BREAKING CHANGE: Total order constraint on span.status=
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
- # Configure the sdk with custom export
35
- OpenTelemetry::SDK.configure do |c|
36
- c.add_span_processor(
37
- OpenTelemetry::SDK::Trace::Export::BatchSpanProcessor.new(
38
- OpenTelemetry::Exporter::Zipkin::Exporter.new(endpoint: 'http://192.168.0.1:9411/api/v2/spans' )
39
- )
40
- )
41
- c.service_name = 'zipkin-example'
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, as shown above, or via environment variables. The configuration parameters, environment variables, and defaults are shown below.
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
  | ----------- | --------------------------------------| -------------------------- |
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Exporter
9
9
  module Zipkin
10
10
  ## Current OpenTelemetry Zipkin exporter version
11
- VERSION = '0.19.0'
11
+ VERSION = '0.19.1'
12
12
  end
13
13
  end
14
14
  end
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.19.0
4
+ version: 0.19.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: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc2
19
+ version: 1.0.0.rc3
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.0.rc2
26
+ version: 1.0.0.rc3
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.19.0
33
+ version: 0.19.1
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.19.0
40
+ version: 0.19.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-sdk
43
43
  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.19.0/file.CHANGELOG.html
201
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.19.1/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.19.0
204
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.19.1
205
205
  post_install_message:
206
206
  rdoc_options: []
207
207
  require_paths: