opentelemetry-api 1.0.0 → 1.0.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: b25f500e6cfa87fe641a3db001ae9f6adf772a9a742761ccdc21c43c8e78ea96
4
- data.tar.gz: 7344a0ae9cdc4030634e28bb21ce19a6369a509b8fb0c56dc085e9ce586fd8e5
3
+ metadata.gz: b78ad94bb13917c6a8b6202d920944c1465eb634dc9776559a84149974f55b82
4
+ data.tar.gz: 2454e81466acd5b7334a6e46f6f442b3e6a0b1afa8c33bf0fa1efdbdabb74da3
5
5
  SHA512:
6
- metadata.gz: 7a489fb55dc89f48a164c646bc94ec1f5e63a19329a61bf5461b1d1474e6d2b0e9f606d40f85aa2cafdcff377b3cae5b4b9f2d5b62a9965c42577e61aa0122df
7
- data.tar.gz: 8fb44ad73536ca545b7f7a61c0e2f37fccc29fc5676abd4ca4eaf0572054f0bb77c70c8bb9220af64c7ff23364b662b2f3212a562569e3bc68c645c71ae447b2
6
+ metadata.gz: 6db7e0e3d83ed9c232dc0a88ada719283c24d6fbc9e5863a44c90646b129cef129d1a04a3a7ea12d77aa692db5ba4dc69a96e95e4e680f0045d4917470dcbe29
7
+ data.tar.gz: d534d75d903d70b3db8fb838b9cb8562910cab8c98586f551f71cd9abe46cba97167a5298afa8472edcf3a96613a06b22060e29daecb4bb2d5a37f02c21f0f05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-api
2
2
 
3
+ ### v1.0.1 / 2021-12-01
4
+
5
+ * FIXED: Deprecate api rack env getter
6
+
3
7
  ### v1.0.0 / 2021-09-29
4
8
 
5
9
  * (No significant changes)
@@ -7,6 +7,9 @@
7
7
  module OpenTelemetry
8
8
  class Context
9
9
  module Propagation
10
+ # @deprecated Use the rack env getter found in the
11
+ # opentelemetry-common gem instead.
12
+
10
13
  # The RackEnvGetter class provides a common methods for reading
11
14
  # keys from a rack environment. It abstracts away the rack-normalization
12
15
  # process so that keys can be looked up without having to transform them
@@ -67,9 +67,13 @@ module OpenTelemetry
67
67
  TEXT_MAP_SETTER
68
68
  end
69
69
 
70
+ # @deprecated Use the rack env getter found in the
71
+ # opentelemetry-common gem instead.
70
72
  # Returns a {RackEnvGetter} instance suitable for reading values from a
71
73
  # Rack environment.
72
74
  def rack_env_getter
75
+ OpenTelemetry.logger.warn('OpenTelemetry::Context::Propagation.rack_env_getter has been deprecated \
76
+ use OpenTelemetry::Common::Propagation.rack_env_getter from the opentelemetry-common gem instead.')
73
77
  RACK_ENV_GETTER
74
78
  end
75
79
  end
@@ -6,5 +6,5 @@
6
6
 
7
7
  module OpenTelemetry
8
8
  ## Current OpenTelemetry version
9
- VERSION = '1.0.0'
9
+ VERSION = '1.0.1'
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.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-09-30 00:00:00.000000000 Z
11
+ date: 2021-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ipsa
@@ -187,10 +187,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
187
187
  licenses:
188
188
  - Apache-2.0
189
189
  metadata:
190
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.0.0/file.CHANGELOG.html
190
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.0.1/file.CHANGELOG.html
191
191
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/api
192
192
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
193
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.0.0
193
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.0.1
194
194
  post_install_message:
195
195
  rdoc_options: []
196
196
  require_paths: