opentelemetry-instrumentation-grpc 0.1.0 → 0.1.2

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: 19942eb457cf16278ba3ab85cbe4f967a720be9bfa4f8e4b407bbea1c8e45087
4
- data.tar.gz: e92250ae62eb1f6dd610b413cdfd41041402a3154eedf4b56e6473c5a4a4f60a
3
+ metadata.gz: 6d379641e62009cb6b68ce4fde2b6bfe37267871243d800e34c10b781a49e9ba
4
+ data.tar.gz: 2cc9812a81fce4a0f2460666558a54477fc1c025d446bbb798578f6451ef1c6d
5
5
  SHA512:
6
- metadata.gz: da0d80f073653ce4d1c224e4f7899e7e92e9d4232cb0f2369f892b5f8f3ac897f1f12e674101ac54ec35f91addb6595bc4cb15c95b3052c86be955ae13270d25
7
- data.tar.gz: e24cad286c11e2cd20459fcbde4d54ed28d2b08a85558e95d0993de8bdef7860a4da730f034aeb9e78a892ea4a52fa2fecefe8bdfd6ec102a369d0a644dfa102
6
+ metadata.gz: db650e002cf6baadf21d1263187237bc265d3b80ba64afbd2314330a0657ff66e525a843ce3e8c7097e9bee7e55e4ed5be92d08ad7bfb2ed02804d9861598554
7
+ data.tar.gz: 713e4600dbdc1dd4d6fe5455a73e476b121016132bea65fa704668ac497e2a02a694fe73213ad29e149d6f9ad87dd14b1c27ae6bafacda2c7827ab6e8140b688
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.2] - 2024-06-26
4
+
5
+ - Align span naming with spec
6
+
7
+ ## [0.1.1] - 2024-06-26
8
+
9
+ - Fix `uninitialized constant Interceptors` error
10
+
3
11
  ## [0.1.0] - 2024-06-18
4
12
 
5
13
  - Initial release
@@ -42,7 +42,9 @@ module OpenTelemetry
42
42
  attributes.merge!(allowed_metadata_headers(metadata.transform_keys(&:to_s)))
43
43
 
44
44
  instrumentation_tracer.in_span(
45
- method.to_s,
45
+ # The specification requires there be no leading slash
46
+ # https://github.com/open-telemetry/semantic-conventions/blob/5a2836bbea0b6e105b98370f331a7661bcf19540/docs/rpc/rpc-spans.md?plain=1#L63-L69
47
+ method.to_s.delete_prefix('/'),
46
48
  attributes: attributes,
47
49
  kind: OpenTelemetry::Trace::SpanKind::CLIENT
48
50
  ) do |span|
@@ -3,7 +3,7 @@
3
3
  module OpenTelemetry
4
4
  module Instrumentation
5
5
  module Grpc
6
- VERSION = "0.1.0"
6
+ VERSION = "0.1.2"
7
7
  end
8
8
  end
9
9
  end
@@ -20,4 +20,5 @@ module OpenTelemetry
20
20
  end
21
21
 
22
22
  require_relative "grpc/instrumentation"
23
+ require_relative "grpc/interceptors/client"
23
24
  require_relative "grpc/version"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hazel Bachrach
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-instrumentation-base