opentelemetry-instrumentation-grpc 0.1.1 → 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: 2fcaae4aa44fe3b961504f167aa8696bfcc644f6a57cb0e0abc442095b2f8f78
4
- data.tar.gz: f5d019945e9b600db9db24361e817eddd772babab8493901e0d1b4e8fab2dbb9
3
+ metadata.gz: 6d379641e62009cb6b68ce4fde2b6bfe37267871243d800e34c10b781a49e9ba
4
+ data.tar.gz: 2cc9812a81fce4a0f2460666558a54477fc1c025d446bbb798578f6451ef1c6d
5
5
  SHA512:
6
- metadata.gz: 325692998ce09aa5f01227e80f80653700377adf9c7f1aa95b9f066453c2bf7524b0af0eedf343e3bba16423bc7e47d2334b2886494ccb430090dd96a133c974
7
- data.tar.gz: '0392148703dbebf41f8b193a9b0fdddd02e6432899faae2063f49eb4b9288a5f5f166ffa0faef34975183758634009a98473b22e7a664ea98858c2920c5867a8'
6
+ metadata.gz: db650e002cf6baadf21d1263187237bc265d3b80ba64afbd2314330a0657ff66e525a843ce3e8c7097e9bee7e55e4ed5be92d08ad7bfb2ed02804d9861598554
7
+ data.tar.gz: 713e4600dbdc1dd4d6fe5455a73e476b121016132bea65fa704668ac497e2a02a694fe73213ad29e149d6f9ad87dd14b1c27ae6bafacda2c7827ab6e8140b688
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.2] - 2024-06-26
4
+
5
+ - Align span naming with spec
6
+
3
7
  ## [0.1.1] - 2024-06-26
4
8
 
5
9
  - Fix `uninitialized constant Interceptors` error
@@ -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.1"
6
+ VERSION = "0.1.2"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hazel Bachrach