opentelemetry-test-helpers 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: cd237508ac940ebf92dcfc6aa7746889a8abfe3bc65f79ac68b52097d6249f74
4
- data.tar.gz: 6e2fd84912d49ddc95fa3ec179d7f86dcd23bcc3c8fdafbd0e4ef07404105c03
3
+ metadata.gz: 004b4b32010f297002452903941d889f42122d31a38d7b6a010f79b1753682ec
4
+ data.tar.gz: 245145b11f04bd297da424bcff6d7b863ebdb30d9ef0485200d20a9b777dc945
5
5
  SHA512:
6
- metadata.gz: c41d529101597bdf7f8e6c34d00775a0575819f9ce956d5e60a0f0b2003274154d413fa173c0f3936e5b3839e706fc10a48b65668ef711fdfa120185dff441cd
7
- data.tar.gz: 900b42f72f917d8c1f05f8bc9225fc1ceecd9b32426c3b950ad051e0b1ce64a2e517a7b33e9ad8ca60e06e0f8bcdb227c65d85d12c52933104116b614cbb6af5
6
+ metadata.gz: 89f57cfe1552dfab50710456112f2fe168c4e44a3140ddb326b9b5ae1a8a21d21fa2b3255a1df4b33f938f22c6a87ec3b23761dab474c0e8fe9ff37e77a4b5fb
7
+ data.tar.gz: a79ca35ef8dbd2272a7a0071388f5d29a2bf798fefc4d373e3ae54fdf2598155d19d94f4f00ee805e4ba38295546d091f50854a9265b12053202b7f43dbd905b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-test-helpers
2
2
 
3
+ ### v0.3.0 / 2022-09-14
4
+
5
+ * ADDED: Support InstrumentationScope, and update OTLP proto to 0.18.0
6
+
3
7
  ### v0.2.0 / 2022-06-09
4
8
 
5
9
  * ADDED: Otlp grpc
@@ -7,6 +7,6 @@
7
7
  module OpenTelemetry
8
8
  ## Current OpenTelemetry Test Helpers version
9
9
  module TestHelpers
10
- VERSION = '0.2.0'
10
+ VERSION = '0.3.0'
11
11
  end
12
12
  end
@@ -66,13 +66,13 @@ module OpenTelemetry
66
66
  def create_span_data(name: '', kind: nil, status: nil, parent_span_id: OpenTelemetry::Trace::INVALID_SPAN_ID,
67
67
  total_recorded_attributes: 0, total_recorded_events: 0, total_recorded_links: 0, start_timestamp: OpenTelemetry::TestHelpers.exportable_timestamp,
68
68
  end_timestamp: OpenTelemetry::TestHelpers.exportable_timestamp, attributes: nil, links: nil, events: nil, resource: nil,
69
- instrumentation_library: OpenTelemetry::SDK::InstrumentationLibrary.new('', 'v0.0.1'),
69
+ instrumentation_scope: OpenTelemetry::SDK::InstrumentationScope.new('', 'v0.0.1'),
70
70
  span_id: OpenTelemetry::Trace.generate_span_id, trace_id: OpenTelemetry::Trace.generate_trace_id,
71
71
  trace_flags: OpenTelemetry::Trace::TraceFlags::DEFAULT, tracestate: nil)
72
72
  resource ||= OpenTelemetry::SDK::Resources::Resource.telemetry_sdk
73
73
  OpenTelemetry::SDK::Trace::SpanData.new(name, kind, status, parent_span_id, total_recorded_attributes,
74
74
  total_recorded_events, total_recorded_links, start_timestamp, end_timestamp,
75
- attributes, links, events, resource, instrumentation_library, span_id, trace_id, trace_flags, tracestate)
75
+ attributes, links, events, resource, instrumentation_scope, span_id, trace_id, trace_flags, tracestate)
76
76
  end
77
77
  end
78
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-test-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.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: 2022-06-09 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -168,10 +168,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
168
168
  licenses:
169
169
  - Apache-2.0
170
170
  metadata:
171
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.2.0/file.CHANGELOG.html
171
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.3.0/file.CHANGELOG.html
172
172
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/test_helpers
173
173
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
174
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.2.0
174
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-test-helpers/v0.3.0
175
175
  post_install_message:
176
176
  rdoc_options: []
177
177
  require_paths: